ECS/Project/Project/Triangle/Triangle.cpp
//	Compute and Return the Normal of this Triangle.
Compute and Return the Normal of this Triangle.
Compute and Return the Normal of this Triangle .
glm::vec3 Triangle::computeFaceNormal()
{
	glm::vec3 aTob = glm::normalize(b - a);
	glm::vec3 aToc = glm::normalize(c - a);
	return glm::normalize(glm::cross(aTob, aToc));
}
glm :: vec3 Triangle :: computeFaceNormal ( ) { glm :: vec3 aTob = glm :: normalize ( b - a ) ; glm :: vec3 aToc = glm :: normalize ( c - a ) ; return glm :: normalize ( glm :: cross ( aTob , aToc ) ) ; }
Compute and Return the Normal of this Triangle.
Compute and Return the Normal of this Triangle .