Camera() doesn't expect parameters

You are confusing the camera() method provided by Processing to change how a 3D scene is viewed and Camera() which is s constructor for a class called Camera which is in the code you posted.

You appear to be unfamiliar with the concept of Classes and Objects so I suggest you have a look at this tutorial

3 Likes