Renamed [Box|Rect]::GetSize() to GetLengths()
Former-commit-id: 3c122057634a6472034b284bfe7091acbb41d004
This commit is contained in:
@@ -63,7 +63,7 @@ void NzDebugDrawer::Draw(const NzBoxf& box)
|
||||
NzVertexStruct_XYZ* vertex = reinterpret_cast<NzVertexStruct_XYZ*>(mapper.GetPointer());
|
||||
|
||||
NzVector3f max, min;
|
||||
max = box.GetPosition() + box.GetSize();
|
||||
max = box.GetPosition() + box.GetLengths();
|
||||
min = box.GetPosition();
|
||||
|
||||
vertex->position.Set(min.x, min.y, min.z);
|
||||
|
||||
Reference in New Issue
Block a user