Vector3d

Integer 3d vector: x,y,z

Constructors

this
this(int xx, int yy, int zz)
Undocumented in source.

Members

Functions

dot
int dot(Vector3d v)
Undocumented in source. Be warned that the author may not have intended to support it.
move
Vector3d move(Dir dir)
Undocumented in source. Be warned that the author may not have intended to support it.
opBinary
Vector3d opBinary(Vector3d v)

subtract vectors

opBinary
Vector3d opBinary(Vector3d v)

add vectors

opBinary
int opBinary(Vector3d v)
opBinary
Vector3d opBinary(int n)

multiply vector elements by constant

opBinary
Vector3d opBinary(int n)

divide vector elements by constant

opOpAssign
Vector3d opOpAssign(Vector3d v)
opOpAssign
Vector3d opOpAssign(Vector3d v)
opOpAssign
Vector3d opOpAssign(int n)
opUnary
Vector3d opUnary()

returns vector with all components which are negative of components for this vector

squaredLength
int squaredLength()
Undocumented in source. Be warned that the author may not have intended to support it.
turnDown
Vector3d turnDown()
Undocumented in source. Be warned that the author may not have intended to support it.
turnLeft
Vector3d turnLeft()
Undocumented in source. Be warned that the author may not have intended to support it.
turnRight
Vector3d turnRight()
Undocumented in source. Be warned that the author may not have intended to support it.
turnUp
Vector3d turnUp()
Undocumented in source. Be warned that the author may not have intended to support it.

Variables

x
int x;

WEST-EAST

y
int y;

DOWN-UP

z
int z;

NORTH-SOUTH

Meta