mirror of
https://github.com/bkaradzic/bgfx.git
synced 2026-09-10 12:38:17 +00:00
This commit is contained in:
committed by
GitHub
parent
bd0137f3fb
commit
24c37e6eca
@@ -1650,7 +1650,7 @@ struct DebugDrawEncoderImpl
|
||||
void drawFrustum(const float* _viewProj)
|
||||
{
|
||||
bx::Plane planes[6] = { bx::InitNone, bx::InitNone, bx::InitNone, bx::InitNone, bx::InitNone, bx::InitNone };
|
||||
buildFrustumPlanes(planes, _viewProj);
|
||||
buildFrustumPlanes(planes, _viewProj, bgfx::getCaps()->homogeneousDepth);
|
||||
|
||||
const bx::Vec3 points[8] =
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user