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

This commit is contained in:
kleonc
2023-03-29 23:56:34 +02:00
parent c29866dbc0
commit f53d3382af
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">