Skip to content

Commit 4036e3a

Browse files
authored
Update createCamera docs since it no longer sets the active camera
1 parent d2cda2a commit 4036e3a

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

src/webgl/p5.Camera.js

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3682,8 +3682,7 @@ function camera(p5, fn){
36823682
};
36833683

36843684
/**
3685-
* Creates a new <a href="#/p5.Camera">p5.Camera</a> object and sets it
3686-
* as the current (active) camera.
3685+
* Creates a new <a href="#/p5.Camera">p5.Camera</a> object.
36873686
*
36883687
* The new camera is initialized with a default position `(0, 0, 800)` and a
36893688
* default perspective projection. Its properties can be controlled with

0 commit comments

Comments
 (0)