We closed this forum 18 June 2010. It has served us well since 2005 as the ALPHA forum did before it from 2002 to 2005. New discussions are ongoing at the new URL http://forum.processing.org. You'll need to sign up and get a new user account. We're sorry about that inconvenience, but we think it's better in the long run. The content on this forum will remain online.
IndexProgramming Questions & HelpIntegration › Using camera() in external Java IDE (XCode)
Page Index Toggle Pages: 1
Using camera() in external Java IDE (XCode) (Read 519 times)
Using camera() in external Java IDE (XCode)
Apr 15th, 2008, 7:10am
 
Hello,
I've got a simple model of the moon orbiting the earth and I've got it working in Java in Xcode by following examples of how to integrate Processing with Java.  It works until I try using

camera(earthX-600, earthY,  1/tan(PI*60.0f / 360.0f), width/2.0, height/2.0, 0, 0, 0, -1);

inside setup() to set the viewpoint.  I get an error of 'symbol not found' on the line with the call to camera().

I used the example in Processing to Xcode 25th Jan 2007 by fjen for getting my Processing app to work in Xcode with Java. (http://processing.org/discourse/yabb_beta/YaBB.cgi?board=Integrate;action=display;num=1169735413;start=5#5)

should 'camera' work in Java mode?

thanks.
Page Index Toggle Pages: 1