Vector2F class

Vector2F class

Vector with 2 float parameters

The Vector2F type exposes the following members:

Constructors

ConstructorDescription
initInitializes a new instance of the Vector2F struct.
initInitializes a new instance of the Vector2F struct.
initConstructs a new instance of Vector2F

Properties

PropertyDescription
lengthLength
square_lengthSquare length
xX coordinate
yY coordinate

Methods

MethodDescription
equalsReturns a boolean indicating whether the given Vector2F is equal to this Vector2F instance.
dot_productReturns the dot product of two vectors.

See Also