Renamed DrawWireBox to DrawWireCube

This commit is contained in:
Kah Wei 2022-12-15 02:19:30 +08:00
parent 9ef005346b
commit b6ab7b44d9
2 changed files with 4 additions and 4 deletions

View File

@ -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<SHGraphicsSystem>();

View File

@ -202,7 +202,7 @@ namespace SHADE
void drawLine(LinesBatch& batch, const SHVec3& start, const SHVec3& end, const SHColour& color);
template<typename IterType>
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 */