Skip to content

Commit

Permalink
forgot to remove the extra parameters that I accidentally added
Browse files Browse the repository at this point in the history
  • Loading branch information
RandomGamingDev committed Oct 25, 2023
1 parent 409d980 commit 3aad5b0
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/webgl/p5.Camera.js
Original file line number Diff line number Diff line change
Expand Up @@ -465,7 +465,7 @@ p5.prototype.createCamera = function () {
* camera view pans left and right across a series of rotating 3D boxes.
*/
p5.Camera = class Camera {
constructor(renderer, autoPosition = false, autoProjection = false) { // change
constructor(renderer) { // change
this._renderer = renderer;

this.cameraType = 'default';
Expand Down

0 comments on commit 3aad5b0

Please sign in to comment.