Codeblocks on Windows failed to compile
In ofxFensterCanvas::setupPerspectiveForActiveScreen(), I was getting:
expected unqualified-id before '=' token
and I'm guessing the symbols near and far are causing a namespace conflict, so i renamed them to _near and _far.
I also had to explicitly cast _near to a float in the unary mulitply operation on line 160:
from:
float wholeMaxY = _near * halfFovTan;
to:
float wholeMaxY = (float)_near * halfFovTan;
... and then the compile succeeded.
thanks. do you feel like this is just a dirty fix or can you make a pull request of it?
ok, no prob. i did a pull req
On Fri, Jul 5, 2013 at 6:01 AM, Philip Whitfield [email protected]:
thanks. do you feel like this is just a dirty fix or can you make a pull request of it?
— Reply to this email directly or view it on GitHubhttps://github.com/underdoeg/ofxFenster/issues/56#issuecomment-20517783 .