Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
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
50
Mat4 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
60
Mat4 Mul(const Mat4& a, const Mat4& b)
61
{
Callers
5
Inverse
Function · 0.85
LookAt
Function · 0.85
FitOrtho
Function · 0.85
Translate
Function · 0.85
test_shadowmap_math.cpp
File · 0.85
Calls
1
at
Method · 0.80
Tested by
no test coverage detected