MCPcopy Create free account
hub / github.com/BohemiaInteractive/CWR / Identity

Function Identity

engine/Poseidon/Graphics/Shadow/ShadowMath.cpp:50–58  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

48}
49
50Mat4 Identity()
51{
52 Mat4 r;
53 r.at(0, 0) = 1.0f;
54 r.at(1, 1) = 1.0f;
55 r.at(2, 2) = 1.0f;
56 r.at(3, 3) = 1.0f;
57 return r;
58}
59
60Mat4 Mul(const Mat4& a, const Mat4& b)
61{

Callers 5

InverseFunction · 0.85
LookAtFunction · 0.85
FitOrthoFunction · 0.85
TranslateFunction · 0.85

Calls 1

atMethod · 0.80

Tested by

no test coverage detected