Minor change in Camera.h 

In the Camera.h file, we don't have any sort of method to get the position of the camera. So, what we'll do is, below glfloat GetZoom(), we'll add the glm::vec3 GetPosition () method and its simply going to return the position. Have a look at the following code: 

glm::vec3 GetPosition ()
{
return this ->position
}
..................Content has been hidden....................

You can't read the all page of ebook, please click here login for view all page.
Reset