MCPcopy Index your code
hub / github.com/HandmadeMath/HandmadeMath / HMM_Perspective_LH_ZO

Function HMM_Perspective_LH_ZO

HandmadeMath.h:1849–1858  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1847
1848COVERAGE(HMM_Perspective_LH_ZO, 1)
1849static inline HMM_Mat4 HMM_Perspective_LH_ZO(float FOV, float AspectRatio, float Near, float Far)
1850{
1851 ASSERT_COVERED(HMM_Perspective_LH_ZO);
1852
1853 HMM_Mat4 Result = HMM_Perspective_RH_ZO(FOV, AspectRatio, Near, Far);
1854 Result.Elements[2][2] = -Result.Elements[2][2];
1855 Result.Elements[2][3] = -Result.Elements[2][3];
1856
1857 return Result;
1858}
1859
1860COVERAGE(HMM_InvPerspective_RH, 1)
1861static inline HMM_Mat4 HMM_InvPerspective_RH(HMM_Mat4 PerspectiveMatrix)

Callers 2

TESTFunction · 0.85
TESTFunction · 0.85

Calls 1

HMM_Perspective_RH_ZOFunction · 0.85

Tested by

no test coverage detected