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

Method GetDepthRange

GTE/Graphics/GL46/GL46Engine.cpp:909–915  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

907}
908
909void GL46Engine::GetDepthRange(float& zmin, float& zmax) const
910{
911 GLdouble param[2];
912 glGetDoublev(GL_DEPTH_RANGE, param);
913 zmin = static_cast<float>(param[0]);
914 zmax = static_cast<float>(param[1]);
915}
916
917bool GL46Engine::Resize(uint32_t w, uint32_t h)
918{

Callers 1

DrawMethod · 0.45

Calls 1

glGetDoublevFunction · 0.85

Tested by

no test coverage detected