Promoted matrix inverse functions
This commit is contained in:
parent
cd183edb29
commit
5a5d2ffde5
@ -15,7 +15,6 @@ void computeNormal(triangle & Triangle)
|
|||||||
Triangle.Normal = glm::normalize(glm::cross(c - a, b - a));
|
Triangle.Normal = glm::normalize(glm::cross(c - a, b - a));
|
||||||
}
|
}
|
||||||
|
|
||||||
#include "../../glm/gtc/matrix_projection.hpp" // glm::perspective
|
|
||||||
#include "../../glm/gtc/matrix_transform.hpp" // glm::translate, glm::rotate, glm::scale
|
#include "../../glm/gtc/matrix_transform.hpp" // glm::translate, glm::rotate, glm::scale
|
||||||
#include "../../glm/gtc/type_ptr.hpp" // glm::value_ptr
|
#include "../../glm/gtc/type_ptr.hpp" // glm::value_ptr
|
||||||
#include "../../glm/gtc/quaternion.hpp" // glm::quat
|
#include "../../glm/gtc/quaternion.hpp" // glm::quat
|
||||||
|
Loading…
x
Reference in New Issue
Block a user