ofCamera worldToScreen calculation difference 0.9 to 0.10


Hi all,

while migrating a project to OF 0.10 I experience strange behaviour and tracked it down to the camera/world calculations. The actual drawing of the camera is working as expected. But on 0.10 the following calculation is different than on 0.9.8:

		worldtoScreen = camera.worldToScreen(ofVec3f(0, 0, 0));
		ofLogVerbose("position: " + ofToString(camera.getGlobalPosition()) + " / worldtoScreen: " + ofToString(worldtoScreen));

of_0-9 of_0-10

The code above is happening in draw() but outside of camera.begin()/camera.end().

I checked the different getters and only found differencs in projectionMatrix and imagePlaneDistance. Not that I know what that actually means in my case.

Any help/hint would be greatly appreciated!