Various fixes to allow compiling negine with custom build configurations
This commit is contained in:
@@ -92,9 +92,9 @@ void SplineCollider::DrawPhysicsDebug(RenderView& view)
|
||||
if (!view.CullingFrustum.Intersects(sphere))
|
||||
return;
|
||||
if (view.Mode == ViewMode::PhysicsColliders && !GetIsTrigger())
|
||||
DebugDraw::DrawTriangles(_vertexBuffer, _indexBuffer, Color::CornflowerBlue, 0, true);
|
||||
DEBUG_DRAW_WIRE_TRIANGLES_EX(_vertexBuffer, _indexBuffer, Color::CornflowerBlue, 0, true);
|
||||
else
|
||||
DebugDraw::DrawWireTriangles(_vertexBuffer, _indexBuffer, Color::GreenYellow * 0.8f, 0, true);
|
||||
DEBUG_DRAW_WIRE_TRIANGLES_EX(_vertexBuffer, _indexBuffer, Color::GreenYellow * 0.8f, 0, true);
|
||||
}
|
||||
|
||||
void SplineCollider::OnDebugDrawSelected()
|
||||
|
||||
Reference in New Issue
Block a user