@marlenet wrote:
This is the website where it shows you how to create the eye writer: http://www.instructables.com/id/The-EyeWriter-20/?ALLSTEPS
This is the code: https://github.com/eyewriter/eyewriter/tree/remoteEyetracker
However, when I compile it it states that: No member named 'v' in 'ofxVec3f'.
I was wondering if it's because the original code was created with 10.5(Leopard)? Do I need to change something?
This is part of the ofxMatrix4x4.h file
Here is an example that is giving me an error:inline void ofxMatrix4x4::postMultTranslate( const ofxVec3f& v ) { for (unsigned i = 0; i < 3; ++i) { float tmp = v.v[i]; if (tmp == 0) continue; _mat[0][i] += tmp * _mat[0][3]; _mat[1][i] += tmp * _mat[1][3]; _mat[2][i] += tmp * _mat[2][3]; _mat[3][i] += tmp * _mat[3][3]; } }
Posts: 1
Participants: 1