look_at
Matrix4 look_at(const Vector3 &eye, const Vector3 ¢er, const Vector3 &up) noexceptParameters
| Name | Type | Description |
|---|---|---|
eye | const Vector3 & | Camera position in world space. |
center | const Vector3 & | The point the camera looks at. |
up | const Vector3 & | The world up direction. |
Returns
Matrix4
The view (world-to-camera) matrix.
Description
A right-handed view matrix looking from eye toward center.

