Constructs a new vector with given X and Y components.
Namespace:
LightBuzz
Assembly:
LightBuzz (in LightBuzz.dll) Version: 1.0.0.0 (1.0.0.0)
Syntaxpublic Vector2D(
float x,
float y
)
Public Sub New (
x As Single,
y As Single
)
public:
Vector2D(
float x,
float y
)
new :
x : float32 *
y : float32 -> Vector2D
Parameters
- x
- Type: SystemSingle
X component of the vector. - y
- Type: SystemSingle
Y component of the vector.
See Also