()
| 516 | // ============================================================ |
| 517 | |
| 518 | fn mat4_identity() -> [[f32; 4]; 4] { |
| 519 | [ |
| 520 | [1.0, 0.0, 0.0, 0.0], |
| 521 | [0.0, 1.0, 0.0, 0.0], |
| 522 | [0.0, 0.0, 1.0, 0.0], |
| 523 | [0.0, 0.0, 0.0, 1.0], |
| 524 | ] |
| 525 | } |
| 526 | |
| 527 | fn mat4_mul(a: &[[f32; 4]; 4], b: &[[f32; 4]; 4]) -> [[f32; 4]; 4] { |
| 528 | let mut out = [[0.0f32; 4]; 4]; |
no outgoing calls
no test coverage detected