PDA

View Full Version : tmat4x4 is not a template?



ScottDurkin
03-17-2017, 07:13 AM
I am following a tutoraial series on OpenGL so I can learn it. but he is on Linux and I am on Windows.

He writes this code here:


class Vertex
{
public:
Vertex(const glm::vec3& pos)
{
this->pos = pos;
}
protected:
private:
glm::vec3 pos;
};


But when I go to write this code I does not work it changes it to:


class Vertex
{
public:
Vertex(const glm::f32vec3& pos)
{
this->pos = pos;
}
protected:
private:
glm::f32vec3 pos;
};


And because of this I seem to be getting 440 errors to do with fwd.hpp and a few others.. :/

Can someone please help me so I can continue to learn?

Thank you!