Tesla Graphics Engine Documentation (January 2012)
Vector2 Constructor (x, y)
Tesla
►
Tesla.Math
►
Vector2
►
Vector2(Single, Single)
C#
Creates a new instance of Vector2.
Declaration Syntax
C#
public
Vector2
(
float
x
,
float
y
)
Parameters
x
(
Single
)
X component
y
(
Single
)
Y component
Assembly:
Tesla
(Module: Tesla) Version: 0.5.0.0 (0.5.0.0)