Skip to content

Commit 53c12c3

Browse files
authored
Merge pull request #8100 from processing/update-createcamera-docs
Update createCamera docs since it no longer sets the active camera
2 parents d2cda2a + 4036e3a commit 53c12c3

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)