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

Function HMM_Perspective_LH_NO

HandmadeMath.h:1837–1846  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1835
1836COVERAGE(HMM_Perspective_LH_NO, 1)
1837static inline HMM_Mat4 HMM_Perspective_LH_NO(float FOV, float AspectRatio, float Near, float Far)
1838{
1839 ASSERT_COVERED(HMM_Perspective_LH_NO);
1840
1841 HMM_Mat4 Result = HMM_Perspective_RH_NO(FOV, AspectRatio, Near, Far);
1842 Result.Elements[2][2] = -Result.Elements[2][2];
1843 Result.Elements[2][3] = -Result.Elements[2][3];
1844
1845 return Result;
1846}
1847
1848COVERAGE(HMM_Perspective_LH_ZO, 1)
1849static inline HMM_Mat4 HMM_Perspective_LH_ZO(float FOV, float AspectRatio, float Near, float Far)

Callers 2

TESTFunction · 0.85
TESTFunction · 0.85

Calls 1

HMM_Perspective_RH_NOFunction · 0.85

Tested by

no test coverage detected