C# Truncate instead of round in Vector2/3/4 to Vector2I/3I/4I conversion

(cherry picked from commit f53d3382af)
This commit is contained in:
kleonc 2023-04-07 17:44:36 +02:00 committed by Yuri Sizov
parent f645bbaffb
commit a5572ba5a3
6 changed files with 18 additions and 21 deletions

View file

@ -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">