mirror of
https://github.com/godotengine/godot.git
synced 2025-12-07 22:00:10 +00:00
C# Truncate instead of round in Vector2/3/4 to Vector2I/3I/4I conversion
(cherry picked from commit f53d3382af)
This commit is contained in:
parent
f645bbaffb
commit
a5572ba5a3
6 changed files with 18 additions and 21 deletions
|
|
@ -27,7 +27,7 @@
|
|||
<return type="Vector4i" />
|
||||
<param index="0" name="from" type="Vector4" />
|
||||
<description>
|
||||
Constructs a new [Vector4i] from the given [Vector4].
|
||||
Constructs a new [Vector4i] from the given [Vector4] by truncating components' fractional parts (rounding towards zero). For a different behavior consider passing the result of [method Vector4.ceil], [method Vector4.floor] or [method Vector4.round] to this constructor instead.
|
||||
</description>
|
||||
</constructor>
|
||||
<constructor name="Vector4i">
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue