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

Function Mul

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

Source from the content-addressed store, hash-verified

58}
59
60Mat4 Mul(const Mat4& a, const Mat4& b)
61{
62 Mat4 r;
63 for (int i = 0; i < 4; i++)
64 {
65 for (int j = 0; j < 4; j++)
66 {
67 float s = 0.0f;
68 for (int k = 0; k < 4; k++)
69 {
70 s += a.at(i, k) * b.at(k, j);
71 }
72 r.at(i, j) = s;
73 }
74 }
75 return r;
76}
77
78Mat4 Inverse(const Mat4& a)
79{

Callers 10

ComputeCascadeLightVPFunction · 0.85
CascadeLightVPWorldFunction · 0.85
ToCameraRelativeFunction · 0.85
CascadeLightVPStableFunction · 0.85
OmniSphereLightVPFunction · 0.85
InspectShadowFunction · 0.85
TriShadowDepthProbeFunction · 0.85
BuildRoofSceneFunction · 0.85
CameraInvVPFunction · 0.85

Calls 1

atMethod · 0.80

Tested by 4

InspectShadowFunction · 0.68
TriShadowDepthProbeFunction · 0.68
BuildRoofSceneFunction · 0.68
CameraInvVPFunction · 0.68