Charli3

04-03-2010, 05:03 PM

Hi,

I try to use quaternions provided by glm but I have somes problems... I do that:

m_WorldPose.Orientation = poseParent->Orientation * m_Orientation;note : they are all glm::quat

I included glm/glm.hpp and glm/gtc/quaternion.hpp

I try to compile and I get that:

error C2679: binary '=' : no operator found which takes a right-hand operand of type 'glm::detail::thalf' (or there is no acceptable conversion)

1> c:\users\charlie\documents\visual studio 2008\projects\in55\3d_engine\glm-0.8.4.4\glm\gtc\quaternion.hpp(58): could be 'glm::detail::tquat<valType> &glm::detail::tquat<valType>::operator =(const glm::detail::tquat<valType> &)'

1> with

1> [

1> valType=float

1> ]

1> while trying to match the argument list '(glm::gtc::quaternion::quat, glm::detail::thalf)'I have no idea where it comes from, I hope it will be more clear fo you :)

Thanks for your help!

++

I try to use quaternions provided by glm but I have somes problems... I do that:

m_WorldPose.Orientation = poseParent->Orientation * m_Orientation;note : they are all glm::quat

I included glm/glm.hpp and glm/gtc/quaternion.hpp

I try to compile and I get that:

error C2679: binary '=' : no operator found which takes a right-hand operand of type 'glm::detail::thalf' (or there is no acceptable conversion)

1> c:\users\charlie\documents\visual studio 2008\projects\in55\3d_engine\glm-0.8.4.4\glm\gtc\quaternion.hpp(58): could be 'glm::detail::tquat<valType> &glm::detail::tquat<valType>::operator =(const glm::detail::tquat<valType> &)'

1> with

1> [

1> valType=float

1> ]

1> while trying to match the argument list '(glm::gtc::quaternion::quat, glm::detail::thalf)'I have no idea where it comes from, I hope it will be more clear fo you :)

Thanks for your help!

++