Basis Constructor |
Name | Description | |
---|---|---|
Basis(Quat) |
Constructs a pure rotation basis matrix from the given quaternion.
| |
Basis(Vector3) |
Constructs a pure rotation basis matrix from the given Euler angles
(in the YXZ convention: when *composing*, first Y, then X, and Z last),
given in the vector format as (X angle, Y angle, Z angle).
Consider using the Basis(Quat) constructor instead, which
uses a Quat quaternion instead of Euler angles.
| |
Basis(Vector3, Single) |
Constructs a pure rotation basis matrix, rotated around the given `axis`
by `phi` (in radians). The axis must be a normalized vector.
| |
Basis(Vector3, Vector3, Vector3) |
Constructs a basis matrix from 3 axis vectors (matrix columns).
|