transform#

Fully qualified name: wp::transform

struct transform#

Rigid-body transform laid out as seven contiguous floats {p.x, p.y, p.z, q.x, q.y, q.z, q.w}, binary-compatible with wp::transform_t<float>.

Public Functions

inline transform()#

Public Members

vec3 p#

Translation component of the transform.

quat q#

Rotation component of the transform, as a quaternion {x, y, z, w}.