Expand description
View (camera) constructors for right-handed world coordinate systems.
Every function transforms world space points into a right-handed Y-up view space with X-right and -Z-forward.
look_at_*targets a focal point (center)look_to_*targets a forward direction (dir)
Functions returning Mat4, Affine3, Affine3A, or
similar return a full view transform (rotation and translation).
Functions returning Mat3, Mat3A, or Quat return
only the view rotation.
Functionsยง
- look_
at_ affine3 - Returns an
Affine3view transform from eye, focal point, and up. - look_
at_ affine3a - Returns an
Affine3Aview transform from eye, focal point, and up. - look_
at_ mat3 - Returns a
Mat3view rotation (no translation) from eye, focal point, and up. - look_
at_ mat4 - Returns a
Mat4view matrix from eye, focal point, and up. - look_
at_ mat3a - Returns a
Mat3Aview rotation (no translation) from eye, focal point, and up. - look_
at_ quat - Returns a
Quatview rotation from eye, focal point, and up. - look_
to_ affine3 - Returns an
Affine3view transform from eye, forward direction, and up. - look_
to_ affine3a - Returns an
Affine3Aview transform from eye, forward direction, and up. - look_
to_ mat3 - Returns a
Mat3view rotation (no translation) from direction and up. - look_
to_ mat4 - Returns a
Mat4view matrix from eye, forward direction, and up. - look_
to_ mat3a - Returns a
Mat3Aview rotation (no translation) from direction and up. - look_
to_ quat - Returns a
Quatview rotation from direction and up.