mirror of
https://github.com/godotengine/godot.git
synced 2026-01-06 10:11:57 +03:00
Remove double thes from documentation
This commit is contained in:
@@ -159,7 +159,7 @@
|
||||
<return type="Vector2i" />
|
||||
<param index="0" name="right" type="int" />
|
||||
<description>
|
||||
Gets the remainder of each component of the [Vector2i] with the the given [int]. This operation uses truncated division, which is often not desired as it does not work well with negative numbers. Consider using [method @GlobalScope.posmod] instead if you want to handle negative numbers.
|
||||
Gets the remainder of each component of the [Vector2i] with the given [int]. This operation uses truncated division, which is often not desired as it does not work well with negative numbers. Consider using [method @GlobalScope.posmod] instead if you want to handle negative numbers.
|
||||
[codeblock]
|
||||
print(Vector2i(10, -20) % 7) # Prints "(3, -6)"
|
||||
[/codeblock]
|
||||
|
||||
Reference in New Issue
Block a user