Skip to content

Commit ce448ad

Browse files
committed
Remove unecessary (potentially misleading) call to
`setCamera()` in `createCamera()` example
1 parent e7f2c14 commit ce448ad

File tree

1 file changed

+0
-1
lines changed

1 file changed

+0
-1
lines changed

src/webgl/p5.Camera.js

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -309,7 +309,6 @@ p5.prototype.frustum = function(...args) {
309309
* createCanvas(100, 100, WEBGL);
310310
* background(0);
311311
* camera = createCamera();
312-
* setCamera(camera);
313312
* }
314313
*
315314
* function draw() {

0 commit comments

Comments
 (0)