Added Fly Camera and Vertex Colors

This commit is contained in:
viktorljung
2015-12-01 15:56:26 +01:00
parent 04d10bf7af
commit 07d037ae57
7 changed files with 95 additions and 14 deletions
+6
View File
@@ -17,6 +17,12 @@ glm::vec3 Camera::Forward()
{
return m_Orientation * glm::vec3(0, 0, -1);
}
glm::vec3 Camera::Right()
{
return m_Orientation * glm::vec3(1, 0, 0);
}
//
//glm::vec3 Camera::Right()
//{