CopperLicht API Documentation
Class CL3D.Vect2d
2d vector class, used for example for texture coordinates.
Class Overview
CL3D.Vect2d(x, y)
2d vector class, used for example for texture coordinates.
- Parameters:
- {Number} x
- x coordinate. Can be null.
- {Number} y
- y coordinate.
Field Attributes | Field Name and Description |
---|---|
X coordinate of the vector
|
|
Y coordinate of the vector
|
Method Attributes | Method Name and Description |
---|---|
clone()
Creates a copy of this vector and returns it
|
Field Detail
{Number}
X
X coordinate of the vector
{Number}
Y
Y coordinate of the vector
Method Detail
{Vect2d}
clone()
Creates a copy of this vector and returns it