|
| auto | degrees (float radian) -> float |
| |
| auto | radians (float degrees) -> float |
| |
| auto | translate (Mat4f mat, Vec4f offset) -> Mat4f |
| |
| auto | translate (Mat4f mat, Vec3f offset) -> Mat4f |
| |
| auto | look_at (const Vec3f &position, const Vec3f &target, const Vec3f &world_up) -> Mat4f |
| |
| auto | rotate (const Mat4f &matrix, float rotation, const Vec3f &axis) -> Mat4f |
| |
| template<typename T> |
| auto | ortho (T left, T right, T bottom, T top) |
| |
| template<typename T> |
| auto | ortho (T left, T right, T bottom, T top, T z_near, T z_far) |
| |
| template<typename T> |
| auto | perspective (T fov_y, T aspect, T z_near, T z_far) |
| |
| template<typename T, std::size_t N> |
| auto | operator<< (std::ostream &os, const Vec< T, N > &value) -> std::ostream & |
| |
| template<typename T, std::size_t Rows, std::size_t Cols> |
| auto | operator<< (std::ostream &os, const Mat< T, Rows, Cols > &value) -> std::ostream & |
| |
| template<typename T, std::size_t N> |
| auto | operator* (float scalar, Vec< T, N > vec) -> Vec< T, N > |
| |