MCPcopy Create free account
hub / github.com/Bloom-Engine/engine / mat4_identity

Function mat4_identity

native/shared/src/models.rs:518–525  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

516// ============================================================
517
518fn 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
527fn mat4_mul(a: &[[f32; 4]; 4], b: &[[f32; 4]; 4]) -> [[f32; 4]; 4] {
528 let mut out = [[0.0f32; 4]; 4];

Callers 2

load_gltf_animationFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected