Coppercube API Documentation
Class Vect2d
2d vector class, used for example for texture coordinates.
Class Overview
Vect2d(x, y)
2d vector class, used for example for texture coordinates.
- Parameters:
- x
- {Number} x coordinate. Can be null.
- y
- {Number} y coordinate.
Field Attributes | Field Name and Description |
---|---|
X coordinate of the vector
|
|
Y coordinate of the vector
|
Field Detail
{Number}
X
X coordinate of the vector
{Number}
Y
Y coordinate of the vector