@@ -41,6 +41,9 @@ class Camera {
41
41
* // Create a p5.Camera object.
42
42
* cam = createCamera();
43
43
*
44
+ * // Set the camera
45
+ * setCamera(cam);
46
+ *
44
47
* // Place the camera at the top-center.
45
48
* cam.setPosition(0, -400, 800);
46
49
*
@@ -86,6 +89,9 @@ class Camera {
86
89
* // Create a p5.Camera object.
87
90
* cam = createCamera();
88
91
*
92
+ * // Set the camera
93
+ * setCamera(cam);
94
+ *
89
95
* // Place the camera at the top-center.
90
96
* cam.setPosition(0, -400, 800);
91
97
*
@@ -192,6 +198,9 @@ class Camera {
192
198
* // Create a p5.Camera object.
193
199
* cam = createCamera();
194
200
*
201
+ * // Set the camera
202
+ * setCamera(cam);
203
+ *
195
204
* // Place the camera at the top-center.
196
205
* cam.setPosition(0, -400, 800);
197
206
*
@@ -253,6 +262,9 @@ class Camera {
253
262
* // Create a p5.Camera object.
254
263
* cam = createCamera();
255
264
*
265
+ * // Set the camera
266
+ * setCamera(cam);
267
+ *
256
268
* // Place the camera at the top-center.
257
269
* cam.setPosition(0, -400, 800);
258
270
*
@@ -298,6 +310,9 @@ class Camera {
298
310
* // Create a p5.Camera object.
299
311
* cam = createCamera();
300
312
*
313
+ * // Set the camera
314
+ * setCamera(cam);
315
+ *
301
316
* // Place the camera at the top-center.
302
317
* cam.setPosition(0, -400, 800);
303
318
*
@@ -360,6 +375,9 @@ class Camera {
360
375
* // Create a p5.Camera object.
361
376
* cam = createCamera();
362
377
*
378
+ * // Set the camera
379
+ * setCamera(cam);
380
+ *
363
381
* // Place the camera at the top-center.
364
382
* cam.setPosition(0, -400, 800);
365
383
*
@@ -405,6 +423,9 @@ class Camera {
405
423
* // Create a p5.Camera object.
406
424
* cam = createCamera();
407
425
*
426
+ * // Set the camera
427
+ * setCamera(cam);
428
+ *
408
429
* // Place the camera at the top-right.
409
430
* cam.setPosition(100, -400, 800);
410
431
*
@@ -467,6 +488,9 @@ class Camera {
467
488
* // Create a p5.Camera object.
468
489
* cam = createCamera();
469
490
*
491
+ * // Set the camera
492
+ * setCamera(cam);
493
+ *
470
494
* // Place the camera at the top-center.
471
495
* cam.setPosition(0, -400, 800);
472
496
*
@@ -512,6 +536,9 @@ class Camera {
512
536
* // Create a p5.Camera object.
513
537
* cam = createCamera();
514
538
*
539
+ * // Set the camera
540
+ * setCamera(cam);
541
+ *
515
542
* // Place the camera at the top-right.
516
543
* cam.setPosition(100, -400, 800);
517
544
*
@@ -574,6 +601,9 @@ class Camera {
574
601
* // Create a p5.Camera object.
575
602
* cam = createCamera();
576
603
*
604
+ * // Set the camera
605
+ * setCamera(cam);
606
+ *
577
607
* // Place the camera at the top-center.
578
608
* cam.setPosition(0, -400, 800);
579
609
*
@@ -619,6 +649,9 @@ class Camera {
619
649
* // Create a p5.Camera object.
620
650
* cam = createCamera();
621
651
*
652
+ * // Set the camera
653
+ * setCamera(cam);
654
+ *
622
655
* // Place the camera at the top-right.
623
656
* cam.setPosition(100, -400, 800);
624
657
*
@@ -681,6 +714,9 @@ class Camera {
681
714
* // Create a p5.Camera object.
682
715
* cam = createCamera();
683
716
*
717
+ * // Set the camera
718
+ * setCamera(cam);
719
+ *
684
720
* // Place the camera at the top-right: (100, -400, 800)
685
721
* // Point it at the origin: (0, 0, 0)
686
722
* // Set its "up" vector: (0, 1, 0).
@@ -725,6 +761,9 @@ class Camera {
725
761
* // Create a p5.Camera object.
726
762
* cam = createCamera();
727
763
*
764
+ * // Set the camera
765
+ * setCamera(cam);
766
+ *
728
767
* // Place the camera at the top-right: (100, -400, 800)
729
768
* // Point it at the origin: (0, 0, 0)
730
769
* // Set its "up" vector: (0, 1, 0).
@@ -786,6 +825,9 @@ class Camera {
786
825
* // Create a p5.Camera object.
787
826
* cam = createCamera();
788
827
*
828
+ * // Set the camera
829
+ * setCamera(cam);
830
+ *
789
831
* // Place the camera at the top-right: (100, -400, 800)
790
832
* // Point it at the origin: (0, 0, 0)
791
833
* // Set its "up" vector: (0, 1, 0).
@@ -830,6 +872,9 @@ class Camera {
830
872
* // Create a p5.Camera object.
831
873
* cam = createCamera();
832
874
*
875
+ * // Set the camera
876
+ * setCamera(cam);
877
+ *
833
878
* // Place the camera at the top-right: (100, -400, 800)
834
879
* // Point it at the origin: (0, 0, 0)
835
880
* // Set its "up" vector: (0, 1, 0).
@@ -891,6 +936,9 @@ class Camera {
891
936
* // Create a p5.Camera object.
892
937
* cam = createCamera();
893
938
*
939
+ * // Set the camera
940
+ * setCamera(cam);
941
+ *
894
942
* // Place the camera at the top-right: (100, -400, 800)
895
943
* // Point it at the origin: (0, 0, 0)
896
944
* // Set its "up" vector: (0, 1, 0).
@@ -935,6 +983,9 @@ class Camera {
935
983
* // Create a p5.Camera object.
936
984
* cam = createCamera();
937
985
*
986
+ * // Set the camera
987
+ * setCamera(cam);
988
+ *
938
989
* // Place the camera at the top-right: (100, -400, 800)
939
990
* // Point it at the origin: (0, 0, 0)
940
991
* // Set its "up" vector: (0, 1, 0).
@@ -1605,6 +1656,9 @@ class Camera {
1605
1656
* normalMaterial();
1606
1657
* // Create a p5.Camera object.
1607
1658
* cam = createCamera();
1659
+ *
1660
+ * // Set the camera
1661
+ * setCamera(cam);
1608
1662
* }
1609
1663
*
1610
1664
* function draw() {
@@ -1684,6 +1738,9 @@ class Camera {
1684
1738
* // Create a p5.Camera object.
1685
1739
* cam = createCamera();
1686
1740
*
1741
+ * // Set the camera
1742
+ * setCamera(cam);
1743
+ *
1687
1744
* // Place the camera at the top-center.
1688
1745
* cam.setPosition(0, -400, 800);
1689
1746
*
@@ -1746,6 +1803,9 @@ class Camera {
1746
1803
* // Create a p5.Camera object.
1747
1804
* cam = createCamera();
1748
1805
*
1806
+ * // Set the camera
1807
+ * setCamera(cam);
1808
+ *
1749
1809
* // Place the camera at the top-center.
1750
1810
* cam.setPosition(0, -400, 800);
1751
1811
*
@@ -1809,6 +1869,9 @@ class Camera {
1809
1869
* // Create a p5.Camera object.
1810
1870
* cam = createCamera();
1811
1871
*
1872
+ * // Set the camera
1873
+ * setCamera(cam);
1874
+ *
1812
1875
* // Place the camera at the top-center.
1813
1876
* cam.setPosition(0, -400, 800);
1814
1877
*
@@ -3803,6 +3866,9 @@ function camera(p5, fn){
3803
3866
* // Create a p5.Camera object.
3804
3867
* cam = createCamera();
3805
3868
*
3869
+ * // Set the camera
3870
+ * setCamera(cam);
3871
+ *
3806
3872
* // Place the camera at the top-center.
3807
3873
* cam.setPosition(0, -400, 800);
3808
3874
*
0 commit comments