MCPcopy Create free account
hub / github.com/OpenImageDebugger/OpenImageDebugger / set_identity

Method set_identity

src/math/linear_algebra.cpp:90–99  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

88}
89
90void mat4::set_identity() {
91 // clang-format off
92 *this << std::initializer_list{
93 1.0f, 0.0f, 0.0f, 0.0f,
94 0.0f, 1.0f, 0.0f, 0.0f,
95 0.0f, 0.0f, 1.0f, 0.0f,
96 0.0f, 0.0f, 0.0f, 1.0f
97 };
98 // clang-format on
99}
100
101void mat4::set_from_st(const float scaleX,
102 const float scaleY,

Callers 4

GameObjectMethod · 0.80
update_object_poseMethod · 0.80
~CameraMethod · 0.80
TESTFunction · 0.80

Calls

no outgoing calls

Tested by 1

TESTFunction · 0.64