MCPcopy Create free account
hub / github.com/DanielChappuis/reactphysics3d / identity

Method identity

testbed/opengl-framework/src/maths/Matrix4.h:486–491  ·  view source on GitHub ↗

Return the identity matrix

Source from the content-addressed store, hash-verified

484
485// Return the identity matrix
486inline Matrix4 Matrix4::identity() {
487 return Matrix4(1, 0, 0, 0,
488 0, 1, 0, 0,
489 0, 0, 1, 0,
490 0, 0, 0, 1);
491}
492
493}
494

Callers

nothing calls this directly

Calls 1

Matrix4Class · 0.85

Tested by

no test coverage detected