Expand description
View (camera) constructors for left-handed world coordinate systems.
Every function transforms world space points into a left-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 DMat4, DAffine3, or
similar return a full view transform (rotation and translation).
Functions returning DMat3, or DQuat return
only the view rotation.
Functionsยง
- look_
at_ affine3 - Returns an
DAffine3view transform from eye, focal point, and up. - look_
at_ mat3 - Returns a
DMat3view rotation (no translation) from eye, focal point, and up. - look_
at_ mat4 - Returns a
DMat4view matrix from eye, focal point, and up. - look_
at_ quat - Returns a
DQuatview rotation from eye, focal point, and up. - look_
to_ affine3 - Returns an
DAffine3view transform from eye, forward direction, and up. - look_
to_ mat3 - Returns a
DMat3view rotation (no translation) from direction and up. - look_
to_ mat4 - Returns a
DMat4view matrix from eye, forward direction, and up. - look_
to_ quat - Returns a
DQuatview rotation from direction and up.