MCPcopy Create free account
hub / github.com/davideberly/GeometricTools / GetFrustum

Method GetFrustum

GTE/Graphics/ViewVolume.cpp:143–151  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

141}
142
143void ViewVolume::GetFrustum(float& dMin, float& dMax, float& uMin, float& uMax, float& rMin, float& rMax) const
144{
145 dMin = mFrustum[VF_DMIN];
146 dMax = mFrustum[VF_DMAX];
147 uMin = mFrustum[VF_UMIN];
148 uMax = mFrustum[VF_UMAX];
149 rMin = mFrustum[VF_RMIN];
150 rMax = mFrustum[VF_RMAX];
151}
152
153bool ViewVolume::GetFrustum(float& upFovDegrees, float& aspectRatio, float& dMin, float& dMax) const
154{

Callers 2

WhichSideMethod · 0.80
OnResizeMethod · 0.80

Calls 1

atanFunction · 0.50

Tested by

no test coverage detected