ofxMSAPhysics
ofxMSAPhysics copied to clipboard
Cinder 0.9 GLM depreciated math
Some bits need to be updated to adapt to Cinder's new use of GLM.
Vec3f -> vec3
.lengthSquared() -> length2(...)
More info here: https://libcinder.org/docs/branch/master/guides/transition_0_9/index.html
Simple enough but what I can't figure out is
T::DIM <----ofxMSAPhysics-master/src/MSAPhysicsWorld.h:473:42: No member named 'DIM' in 'glm::tvec3<float, glm::precision::highp>'
There's a VECDIM struct in cinder/Vector.h but this fix is beyond my knowledge.
template<uint8_t DIM,typename T> struct VECDIM { };
https://github.com/cinder/Cinder/blob/master/include/cinder/Vector.h
Any thoughts?