Made code more readable (Weeeee)
Former-commit-id: fa2a7686130fe67aa4da9f590a8f74c1b5e75ca9
This commit is contained in:
parent
095a44e9b1
commit
90a616a26f
|
|
@ -175,6 +175,7 @@ template<typename T>
|
|||
void NzBoundingVolume<T>::Update(const NzMatrix4<T>& transformMatrix)
|
||||
{
|
||||
obb.Update(transformMatrix);
|
||||
|
||||
aabb.Set(obb(0), obb(1));
|
||||
for (unsigned int i = 2; i < 8; ++i)
|
||||
aabb.ExtendTo(obb(i));
|
||||
|
|
|
|||
Loading…
Reference in New Issue