Toggle navigation
Hot Examples
PT
EN
RU
DE
FR
ES
PT
IT
JP
ZH
KO
C#
PHP
C#
Java
Go
C++
Python
JS
TS
Pesquisar
Página Inicial
Sharpex2D
Math
Vector2
Truncate
Sharpex2D.Math.Vector2.Truncate C# (CSharp) Method
Vector2 Class Documentation
Exibir arquivo
Open project: ThuCommix/Sharpex2D
Truncate()
public
static
method
Truncates the specified vector and removes all decimal places.
public
static
Truncate
(
Vector2
a
) :
Vector2
a
Vector2
The vector.
return
Vector2
public static Vector2 Truncate(Vector2 a) { return new Vector2((int) a.X, (int) a.Y); }
Vector2
Abs
Clamp
CrossProduct
Dot
Equals
GetHashCode
Lerp
Max
Min
Negate
Normalize
Reflect
Rotate
Round
SmoothStep
ToString
Translate
Truncate
Vector2
VectorProduct
operator