Renamed DrawWireBox to DrawWireCube
This commit is contained in:
parent
9ef005346b
commit
b6ab7b44d9
|
@ -167,9 +167,9 @@ namespace SHADE
|
||||||
DrawLineLoop({ p1, p2, p3 }, color, depthTested);
|
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);
|
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>();
|
const auto* GFX_SYSTEM = SHSystemManager::GetSystem<SHGraphicsSystem>();
|
||||||
|
|
|
@ -202,7 +202,7 @@ namespace SHADE
|
||||||
void drawLine(LinesBatch& batch, const SHVec3& start, const SHVec3& end, const SHColour& color);
|
void drawLine(LinesBatch& batch, const SHVec3& start, const SHVec3& end, const SHColour& color);
|
||||||
template<typename IterType>
|
template<typename IterType>
|
||||||
void drawLineLoop(LinesBatch& batch, IterType pointListBegin, IterType pointListEnd, const SHColour& color);
|
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 */
|
/* Helper Batch Functions - Lines */
|
||||||
|
|
Loading…
Reference in New Issue