- distanceTo
float distanceTo(Vector4 vector)
Returns the distance between the vectors
- distanceToSquared
float distanceToSquared(Vector4 vector)
Returns the squared distance between the vectors
- dot
float dot(Vector4 vector)
Undocumented in source. Be warned that the author may not have intended to support it.
- getMagnitude
float getMagnitude()
Returns the magnitude of the vector
- getNormalized
Vector4 getNormalized()
Returns a normalized copy of this vector
- normalize
void normalize()
- opAdd
Vector4 opAdd(Vector4 vector)
Undocumented in source. Be warned that the author may not have intended to support it.
- opAddAssign
Vector4 opAddAssign(Vector4 vector)
Undocumented in source. Be warned that the author may not have intended to support it.
- opAssign
void opAssign(Vector2 vector)
Undocumented in source. Be warned that the author may not have intended to support it.
- opAssign
void opAssign(Vector3 vector)
Undocumented in source. Be warned that the author may not have intended to support it.
- opDiv
Vector4 opDiv(float a)
Undocumented in source. Be warned that the author may not have intended to support it.
- opDivAssign
Vector4 opDivAssign(float a)
Undocumented in source. Be warned that the author may not have intended to support it.
- opMul
Vector4 opMul(float a)
Undocumented in source. Be warned that the author may not have intended to support it.
- opMulAssign
Vector4 opMulAssign(float a)
Undocumented in source. Be warned that the author may not have intended to support it.
- opSub
Vector4 opSub(Vector4 vector)
Undocumented in source. Be warned that the author may not have intended to support it.
- opSubAssign
Vector4 opSubAssign(Vector4 vector)
Undocumented in source. Be warned that the author may not have intended to support it.
- opUnary
Vector4 opUnary()
Undocumented in source. Be warned that the author may not have intended to support it.
- set
void set(float x, float y, float z, float w)
Sets the values of x, y, z, and w in a single statement
- setMagnitude
void setMagnitude(float magnitude)
Sets the magnitude of this vector