From b6ab7b44d9d00c2b0bf0e35f5888ce6c893b90b9 Mon Sep 17 00:00:00 2001 From: Kah Wei Date: Thu, 15 Dec 2022 02:19:30 +0800 Subject: [PATCH] Renamed DrawWireBox to DrawWireCube --- .../src/Graphics/MiddleEnd/Interface/SHDebugDrawSystem.cpp | 6 +++--- .../src/Graphics/MiddleEnd/Interface/SHDebugDrawSystem.h | 2 +- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/SHADE_Engine/src/Graphics/MiddleEnd/Interface/SHDebugDrawSystem.cpp b/SHADE_Engine/src/Graphics/MiddleEnd/Interface/SHDebugDrawSystem.cpp index 4f88966c..926adae8 100644 --- a/SHADE_Engine/src/Graphics/MiddleEnd/Interface/SHDebugDrawSystem.cpp +++ b/SHADE_Engine/src/Graphics/MiddleEnd/Interface/SHDebugDrawSystem.cpp @@ -167,9 +167,9 @@ namespace SHADE DrawLineLoop({ p1, p2, p3 }, color, depthTested); } - void SHDebugDrawSystem::DrawWireBox(const SHMatrix& matrix, const SHColour& color, bool depthTested) + void SHDebugDrawSystem::DrawWireCube(const SHMatrix& matrix, const SHColour& color, bool depthTested) { - drawWireBox(getMeshBatch(false, depthTested), matrix, color); + drawWireCube(getMeshBatch(false, depthTested), matrix, color); } /*-----------------------------------------------------------------------------------*/ @@ -214,7 +214,7 @@ namespace SHADE batch.Points.emplace_back(end, color); } - void SHDebugDrawSystem::drawWireBox(MeshBatch& batch, const SHMatrix& transformMatrix, const SHColour& color) + void SHDebugDrawSystem::drawWireCube(MeshBatch& batch, const SHMatrix& transformMatrix, const SHColour& color) { const auto* GFX_SYSTEM = SHSystemManager::GetSystem(); diff --git a/SHADE_Engine/src/Graphics/MiddleEnd/Interface/SHDebugDrawSystem.h b/SHADE_Engine/src/Graphics/MiddleEnd/Interface/SHDebugDrawSystem.h index 035357e3..c913de84 100644 --- a/SHADE_Engine/src/Graphics/MiddleEnd/Interface/SHDebugDrawSystem.h +++ b/SHADE_Engine/src/Graphics/MiddleEnd/Interface/SHDebugDrawSystem.h @@ -202,7 +202,7 @@ namespace SHADE void drawLine(LinesBatch& batch, const SHVec3& start, const SHVec3& end, const SHColour& color); template void drawLineLoop(LinesBatch& batch, IterType pointListBegin, IterType pointListEnd, const SHColour& color); - void drawWireBox(MeshBatch& batch, const SHMatrix& transformMatrix, const SHColour& color); + void drawWireCube(MeshBatch& batch, const SHMatrix& transformMatrix, const SHColour& color); /*---------------------------------------------------------------------------------*/ /* Helper Batch Functions - Lines */