| 1 | #include <math/seadMatrix.h> |
| 2 | |
| 3 | namespace sead |
| 4 | { |
| 5 | template <> |
| 6 | const Matrix22<f32> Matrix22<f32>::zero(0.0f, 0.0f, 0.0f, 0.0f); |
| 7 | |
| 8 | template <> |
| 9 | const Matrix22<f32> Matrix22<f32>::ident(1.0f, 0.0f, 0.0f, 1.0f); |
| 10 | |
| 11 | template <> |
| 12 | const Matrix33<f32> Matrix33<f32>::zero(0.0f, 0.0f, 0.0f, 0.0f, 0.0f, 0.0f, 0.0f, 0.0f, 0.0f); |
| 13 | |
| 14 | template <> |
| 15 | const Matrix33<f32> Matrix33<f32>::ident(1.0f, 0.0f, 0.0f, 0.0f, 1.0f, 0.0f, 0.0f, 0.0f, 1.0f); |
| 16 | |
| 17 | template <> |
| 18 | const Matrix34<f32> Matrix34<f32>::zero(0.0f, 0.0f, 0.0f, 0.0f, 0.0f, 0.0f, 0.0f, 0.0f, 0.0f, 0.0f, |
| 19 | 0.0f, 0.0f); |
| 20 | |
| 21 | template <> |
| 22 | const Matrix34<f32> Matrix34<f32>::ident(1.0f, 0.0f, 0.0f, 0.0f, 0.0f, 1.0f, 0.0f, 0.0f, 0.0f, 0.0f, |
| 23 | 1.0f, 0.0f); |
| 24 | |
| 25 | template <> |
| 26 | const Matrix44<f32> Matrix44<f32>::zero(0.0f, 0.0f, 0.0f, 0.0f, 0.0f, 0.0f, 0.0f, 0.0f, 0.0f, 0.0f, |
| 27 | 0.0f, 0.0f, 0.0f, 0.0f, 0.0f, 0.0f); |
| 28 | |
| 29 | template <> |
| 30 | const Matrix44<f32> Matrix44<f32>::ident(1.0f, 0.0f, 0.0f, 0.0f, 0.0f, 1.0f, 0.0f, 0.0f, 0.0f, 0.0f, |
| 31 | 1.0f, 0.0f, 0.0f, 0.0f, 0.0f, 1.0f); |
| 32 | |
| 33 | template <> |
| 34 | const Matrix22<f64> Matrix22<f64>::zero(0, 0, 0, 0); |
| 35 | |
| 36 | template <> |
| 37 | const Matrix22<f64> Matrix22<f64>::ident(1, 0, 0, 1); |
| 38 | |
| 39 | template <> |
| 40 | const Matrix33<f64> Matrix33<f64>::zero(0, 0, 0, 0, 0, 0, 0, 0, 0); |
| 41 | |
| 42 | template <> |
| 43 | const Matrix33<f64> Matrix33<f64>::ident(1, 0, 0, 0, 1, 0, 0, 0, 1); |
| 44 | |
| 45 | template <> |
| 46 | const Matrix34<f64> Matrix34<f64>::zero(0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0); |
| 47 | |
| 48 | template <> |
| 49 | const Matrix34<f64> Matrix34<f64>::ident(1, 0, 0, 0, 0, 1, 0, 0, 0, 0, 1, 0); |
| 50 | |
| 51 | template <> |
| 52 | const Matrix44<f64> Matrix44<f64>::zero(0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0); |
| 53 | |
| 54 | template <> |
| 55 | const Matrix44<f64> Matrix44<f64>::ident(1, 0, 0, 0, 0, 1, 0, 0, 0, 0, 1, 0, 0, 0, 0, 1); |
| 56 | |
| 57 | } // namespace sead |
| 58 | |