Update documentation's "Prints" comments after #47502
This commit is contained in:
@ -518,7 +518,7 @@
|
||||
<description>
|
||||
Multiplies each component of the [Vector3] by the components of the given [Vector3].
|
||||
[codeblock]
|
||||
print(Vector3(10, 20, 30) * Vector3(3, 4, 5)) # Prints "(30, 80, 150)"
|
||||
print(Vector3(10, 20, 30) * Vector3(3, 4, 5)) # Prints (30.0, 80.0, 150.0)
|
||||
[/codeblock]
|
||||
</description>
|
||||
</operator>
|
||||
@ -542,7 +542,7 @@
|
||||
<description>
|
||||
Adds each component of the [Vector3] by the components of the given [Vector3].
|
||||
[codeblock]
|
||||
print(Vector3(10, 20, 30) + Vector3(3, 4, 5)) # Prints "(13, 24, 35)"
|
||||
print(Vector3(10, 20, 30) + Vector3(3, 4, 5)) # Prints (13.0, 24.0, 35.0)
|
||||
[/codeblock]
|
||||
</description>
|
||||
</operator>
|
||||
@ -552,7 +552,7 @@
|
||||
<description>
|
||||
Subtracts each component of the [Vector3] by the components of the given [Vector3].
|
||||
[codeblock]
|
||||
print(Vector3(10, 20, 30) - Vector3(3, 4, 5)) # Prints "(7, 16, 25)"
|
||||
print(Vector3(10, 20, 30) - Vector3(3, 4, 5)) # Prints (7.0, 16.0, 25.0)
|
||||
[/codeblock]
|
||||
</description>
|
||||
</operator>
|
||||
@ -562,7 +562,7 @@
|
||||
<description>
|
||||
Divides each component of the [Vector3] by the components of the given [Vector3].
|
||||
[codeblock]
|
||||
print(Vector3(10, 20, 30) / Vector3(2, 5, 3)) # Prints "(5, 4, 10)"
|
||||
print(Vector3(10, 20, 30) / Vector3(2, 5, 3)) # Prints (5.0, 4.0, 10.0)
|
||||
[/codeblock]
|
||||
</description>
|
||||
</operator>
|
||||
|
||||
Reference in New Issue
Block a user