Bug fixing.
This commit is contained in:
@@ -4,7 +4,7 @@
|
||||
// }
|
||||
// NOTE: condition statement is not executed at all in release mode.
|
||||
#ifndef DEBUG_IF
|
||||
#ifndef DEBUG
|
||||
#ifdef DEBUG
|
||||
#define DEBUG_IF(c) if(c)
|
||||
#else
|
||||
#define DEBUG_IF(c) if(false)
|
||||
|
||||
@@ -135,7 +135,7 @@ Model::Model(std::string fileName)
|
||||
maxi = glm::max(maxi, v.Position);
|
||||
}
|
||||
|
||||
m_Box = AABB(maxi, mini);
|
||||
m_Box = AABB(mini, maxi);
|
||||
}
|
||||
|
||||
Model::~Model()
|
||||
|
||||
Reference in New Issue
Block a user