| 88 | } |
| 89 | |
| 90 | void mat4::set_identity() { |
| 91 | // clang-format off |
| 92 | *this << std::initializer_list{ |
| 93 | 1.0f, 0.0f, 0.0f, 0.0f, |
| 94 | 0.0f, 1.0f, 0.0f, 0.0f, |
| 95 | 0.0f, 0.0f, 1.0f, 0.0f, |
| 96 | 0.0f, 0.0f, 0.0f, 1.0f |
| 97 | }; |
| 98 | // clang-format on |
| 99 | } |
| 100 | |
| 101 | void mat4::set_from_st(const float scaleX, |
| 102 | const float scaleY, |
no outgoing calls