- abs
Vector3 abs()
Undocumented in source. Be warned that the author may not have intended to support it.
- ceil
Vector3 ceil()
Undocumented in source. Be warned that the author may not have intended to support it.
- cross
Vector3 cross(Vector3 b)
Undocumented in source. Be warned that the author may not have intended to support it.
- cubicInterpolate
Vector3 cubicInterpolate(Vector3 b, Vector3 pre_a, Vector3 post_b, real_t t)
Undocumented in source. Be warned that the author may not have intended to support it.
- distanceSquaredTo
real_t distanceSquaredTo(Vector3 b)
Undocumented in source. Be warned that the author may not have intended to support it.
- distanceTo
real_t distanceTo(Vector3 b)
Undocumented in source. Be warned that the author may not have intended to support it.
- dot
real_t dot(Vector3 b)
Undocumented in source. Be warned that the author may not have intended to support it.
- floor
Vector3 floor()
Undocumented in source. Be warned that the author may not have intended to support it.
- inverse
Vector3 inverse()
Undocumented in source. Be warned that the author may not have intended to support it.
- length
real_t length()
Undocumented in source. Be warned that the author may not have intended to support it.
- lengthSquared
real_t lengthSquared()
Undocumented in source. Be warned that the author may not have intended to support it.
- linearInterpolate
Vector3 linearInterpolate(Vector3 p_b, real_t p_t)
Undocumented in source. Be warned that the author may not have intended to support it.
- maxAxis
int maxAxis()
Undocumented in source. Be warned that the author may not have intended to support it.
- minAxis
int minAxis()
Undocumented in source. Be warned that the author may not have intended to support it.
- normalize
void normalize()
Undocumented in source. Be warned that the author may not have intended to support it.
- normalized
Vector3 normalized()
Undocumented in source. Be warned that the author may not have intended to support it.
- opAssign
void opAssign(Vector3 b)
Undocumented in source. Be warned that the author may not have intended to support it.
- opBinary
Vector3 opBinary(Vector3 other)
Undocumented in source. Be warned that the author may not have intended to support it.
- opBinary
Vector3 opBinary(real_t scalar)
Undocumented in source. Be warned that the author may not have intended to support it.
- opBinaryRight
Vector3 opBinaryRight(real_t scalar)
Undocumented in source. Be warned that the author may not have intended to support it.
- opCmp
int opCmp(Vector3 other)
Undocumented in source. Be warned that the author may not have intended to support it.
- opDispatch
auto opDispatch(float[nArgCount] nArgs)
Swizzle the vector with x, y, z, or n. Pass floats as args for any n's; if
there are more n's than args, the last arg is used for the rest. If no args
are passed at all, 0.0 is used for each n.
- opIndex
const(real_t) opIndex(int p_axis)
Undocumented in source. Be warned that the author may not have intended to support it.
- opIndex
real_t opIndex(int p_axis)
Undocumented in source. Be warned that the author may not have intended to support it.
- opOpAssign
void opOpAssign(Vector3 other)
Undocumented in source. Be warned that the author may not have intended to support it.
- opOpAssign
void opOpAssign(real_t scalar)
Undocumented in source. Be warned that the author may not have intended to support it.
- opUnary
Vector3 opUnary()
Undocumented in source. Be warned that the author may not have intended to support it.
- reflect
Vector3 reflect(Vector3 by)
Undocumented in source. Be warned that the author may not have intended to support it.
- rotate
void rotate(Vector3 axis, real_t phi)
Undocumented in source. Be warned that the author may not have intended to support it.
- rotated
Vector3 rotated(Vector3 axis, real_t phi)
Undocumented in source. Be warned that the author may not have intended to support it.
- slide
Vector3 slide(Vector3 by)
Undocumented in source. Be warned that the author may not have intended to support it.
- snap
void snap(real_t step)
Undocumented in source. Be warned that the author may not have intended to support it.
- snapped
Vector3 snapped(real_t step)
Undocumented in source. Be warned that the author may not have intended to support it.
Vector3 is one of the core classes of the engine, and includes several built-in helper functions to perform basic vector math operations.