Transform

Represents one or many transformations in 3D space such as translation, rotation, or scaling. It is similar to a 3x4 matrix.

Constructors

this
this(real_t xx, real_t xy, real_t xz, real_t yx, real_t yy, real_t yz, real_t zx, real_t zy, real_t zz, real_t tx, real_t ty, real_t tz)
Undocumented in source.
this
this(Basis basis, Vector3 origin)
Undocumented in source.

Members

Functions

affineInverse
Transform affineInverse()
Undocumented in source. Be warned that the author may not have intended to support it.
affineInvert
void affineInvert()
Undocumented in source. Be warned that the author may not have intended to support it.
interpolateWith
Transform interpolateWith(Transform p_transform, real_t p_c)
Undocumented in source. Be warned that the author may not have intended to support it.
inverse
Transform inverse()
Undocumented in source. Be warned that the author may not have intended to support it.
inverseXform
Transform inverseXform(Transform t)
Undocumented in source. Be warned that the author may not have intended to support it.
invert
void invert()
Undocumented in source. Be warned that the author may not have intended to support it.
lookingAt
Transform lookingAt(Vector3 p_target, Vector3 p_up)
Undocumented in source. Be warned that the author may not have intended to support it.
opBinary
Transform opBinary(Transform p_transform)
Undocumented in source. Be warned that the author may not have intended to support it.
opOpAssign
void opOpAssign(Transform p_transform)
Undocumented in source. Be warned that the author may not have intended to support it.
orthonormalize
void orthonormalize()
Undocumented in source. Be warned that the author may not have intended to support it.
orthonormalized
Transform orthonormalized()
Undocumented in source. Be warned that the author may not have intended to support it.
rotate
void rotate(Vector3 p_axis, real_t p_phi)
Undocumented in source. Be warned that the author may not have intended to support it.
rotateBasis
void rotateBasis(Vector3 p_axis, real_t p_phi)
Undocumented in source. Be warned that the author may not have intended to support it.
rotated
Transform rotated(Vector3 p_axis, real_t p_phi)
Undocumented in source. Be warned that the author may not have intended to support it.
scale
void scale(Vector3 p_scale)
Undocumented in source. Be warned that the author may not have intended to support it.
scaleBasis
void scaleBasis(Vector3 p_scale)
Undocumented in source. Be warned that the author may not have intended to support it.
scaled
Transform scaled(Vector3 p_scale)
Undocumented in source. Be warned that the author may not have intended to support it.
set
void set(real_t xx, real_t xy, real_t xz, real_t yx, real_t yy, real_t yz, real_t zx, real_t zy, real_t zz, real_t tx, real_t ty, real_t tz)
Undocumented in source. Be warned that the author may not have intended to support it.
setLookAt
void setLookAt(Vector3 p_eye, Vector3 p_target, Vector3 p_up)
Undocumented in source. Be warned that the author may not have intended to support it.
translate
void translate(real_t p_tx, real_t p_ty, real_t p_tz)
Undocumented in source. Be warned that the author may not have intended to support it.
translate
void translate(Vector3 p_translation)
Undocumented in source. Be warned that the author may not have intended to support it.
translated
Transform translated(Vector3 p_translation)
Undocumented in source. Be warned that the author may not have intended to support it.
xform
Vector3 xform(Vector3 p_vector)
Undocumented in source. Be warned that the author may not have intended to support it.
xform
Plane xform(Plane p_plane)
Undocumented in source. Be warned that the author may not have intended to support it.
xform
AABB xform(AABB p_aabb)
Undocumented in source. Be warned that the author may not have intended to support it.
xformInv
Vector3 xformInv(Vector3 p_vector)
Undocumented in source. Be warned that the author may not have intended to support it.
xformInv
Plane xformInv(Plane p_plane)
Undocumented in source. Be warned that the author may not have intended to support it.
xformInv
AABB xformInv(AABB p_aabb)
Undocumented in source. Be warned that the author may not have intended to support it.

Variables

basis
Basis basis;
origin
Vector3 origin;

Meta