NewMatrix4 creates and returns a pointer to a new Matrix4 initialized as the identity matrix.
()
| 12 | // NewMatrix4 creates and returns a pointer to a new Matrix4 |
| 13 | // initialized as the identity matrix. |
| 14 | func NewMatrix4() *Matrix4 { |
| 15 | |
| 16 | var mat Matrix4 |
| 17 | mat.Identity() |
| 18 | return &mat |
| 19 | } |
| 20 | |
| 21 | // Set sets all the elements of this matrix row by row starting at row1, column1, |
| 22 | // row1, column2, row1, column3 and so forth. |
no test coverage detected