Made code more readable (Weeeee)

Former-commit-id: fa2a7686130fe67aa4da9f590a8f74c1b5e75ca9
This commit is contained in:
Lynix 2014-07-28 12:26:37 +02:00
parent 095a44e9b1
commit 90a616a26f
1 changed files with 1 additions and 0 deletions

View File

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