Change DrawTube to DrawCapsule. Depricate old Tube code.

This commit is contained in:
Chandler Cox
2025-02-08 21:15:49 -06:00
parent 8542f78b0b
commit 2521ed4ad5
5 changed files with 51 additions and 13 deletions

View File

@@ -131,8 +131,8 @@ void PointLight::OnDebugDraw()
{
if (SourceRadius > ZeroTolerance || SourceLength > ZeroTolerance)
{
// Draw source tube
DEBUG_DRAW_WIRE_TUBE(GetPosition(), GetOrientation(), SourceRadius, SourceLength, Color::Orange, 0, true);
// Draw source capsule
DEBUG_DRAW_WIRE_CAPSULE(GetPosition(), GetOrientation(), SourceRadius, SourceLength, Color::Orange, 0, true);
}
// Base