Sym3Vec2
Represents a point in two dimensional space.
Constructor
constructor(x: number, y: number)
Constructs a new Sym3Vec2 with the X and Y fields set appropriately.
Fields
- X (number): The X component of this coordinate.
- Y (number): The Y component of this coordinate.
Example
Construct a new Sym3Vec2 and set its X component to 23.
let v = new Sym3Vec2(1, 4);
v.X = 23;