• Create Account

Posted 09 May 2012 - 01:09 PM

Using
typedef glm::dvec3 Vector3

was my first idea BUT I want things like the cross product to be used as member functions. GLM implements them as
normal functions taking the two vectors as parameters.

But when the inheritance I have suggested does not have any performance penalties I will go that way.

typedef glm::dvec3 Vector3