@@ -71,7 +71,7 @@ class Camera {
71
71
* fill(0);
72
72
*
73
73
* // Display the value of eyeX, rounded to the nearest integer.
74
- * text(`eyeX: ${round(cam.eyeX)}`, 0, 55 );
74
+ * text(`eyeX: ${round(cam.eyeX)}`, 0, 45 );
75
75
* }
76
76
* </code>
77
77
* </div>
@@ -89,9 +89,6 @@ class Camera {
89
89
* // Create a p5.Camera object.
90
90
* cam = createCamera();
91
91
*
92
- * // Set the camera
93
- * setCamera(cam);
94
- *
95
92
* // Place the camera at the top-center.
96
93
* cam.setPosition(0, -400, 800);
97
94
*
@@ -125,7 +122,7 @@ class Camera {
125
122
* cam.setPosition(x, -400, 800);
126
123
*
127
124
* // Display the value of eyeX, rounded to the nearest integer.
128
- * text(`eyeX: ${round(cam.eyeX)}`, 0, 55 );
125
+ * text(`eyeX: ${round(cam.eyeX)}`, 0, 45 );
129
126
* }
130
127
* </code>
131
128
* </div>
@@ -183,7 +180,7 @@ class Camera {
183
180
* fill(0);
184
181
*
185
182
* // Display the value of eyeY, rounded to the nearest integer.
186
- * text(`eyeY: ${round(cam.eyeY)}`, 0, 55 );
183
+ * text(`eyeY: ${round(cam.eyeY)}`, 0, 45 );
187
184
* }
188
185
* </code>
189
186
* </div>
@@ -237,7 +234,7 @@ class Camera {
237
234
* cam.setPosition(0, y, 800);
238
235
*
239
236
* // Display the value of eyeY, rounded to the nearest integer.
240
- * text(`eyeY: ${round(cam.eyeY)}`, 0, 55 );
237
+ * text(`eyeY: ${round(cam.eyeY)}`, 0, 45 );
241
238
* }
242
239
* </code>
243
240
* </div>
@@ -295,7 +292,7 @@ class Camera {
295
292
* fill(0);
296
293
*
297
294
* // Display the value of eyeZ, rounded to the nearest integer.
298
- * text(`eyeZ: ${round(cam.eyeZ)}`, 0, 55 );
295
+ * text(`eyeZ: ${round(cam.eyeZ)}`, 0, 45 );
299
296
* }
300
297
* </code>
301
298
* </div>
@@ -349,7 +346,7 @@ class Camera {
349
346
* cam.setPosition(0, -400, z);
350
347
*
351
348
* // Display the value of eyeZ, rounded to the nearest integer.
352
- * text(`eyeZ: ${round(cam.eyeZ)}`, 0, 55 );
349
+ * text(`eyeZ: ${round(cam.eyeZ)}`, 0, 45 );
353
350
* }
354
351
* </code>
355
352
* </div>
@@ -408,7 +405,7 @@ class Camera {
408
405
* fill(0);
409
406
*
410
407
* // Display the value of centerX, rounded to the nearest integer.
411
- * text(`centerX: ${round(cam.centerX)}`, 0, 55 );
408
+ * text(`centerX: ${round(cam.centerX)}`, 0, 45 );
412
409
* }
413
410
* </code>
414
411
* </div>
@@ -462,7 +459,7 @@ class Camera {
462
459
* cam.lookAt(x, 20, -30);
463
460
*
464
461
* // Display the value of centerX, rounded to the nearest integer.
465
- * text(`centerX: ${round(cam.centerX)}`, 0, 55 );
462
+ * text(`centerX: ${round(cam.centerX)}`, 0, 45 );
466
463
* }
467
464
* </code>
468
465
* </div>
@@ -521,7 +518,7 @@ class Camera {
521
518
* fill(0);
522
519
*
523
520
* // Display the value of centerY, rounded to the nearest integer.
524
- * text(`centerY: ${round(cam.centerY)}`, 0, 55 );
521
+ * text(`centerY: ${round(cam.centerY)}`, 0, 45 );
525
522
* }
526
523
* </code>
527
524
* </div>
@@ -575,7 +572,7 @@ class Camera {
575
572
* cam.lookAt(10, y, -30);
576
573
*
577
574
* // Display the value of centerY, rounded to the nearest integer.
578
- * text(`centerY: ${round(cam.centerY)}`, 0, 55 );
575
+ * text(`centerY: ${round(cam.centerY)}`, 0, 45 );
579
576
* }
580
577
* </code>
581
578
* </div>
@@ -634,7 +631,7 @@ class Camera {
634
631
* fill(0);
635
632
*
636
633
* // Display the value of centerZ, rounded to the nearest integer.
637
- * text(`centerZ: ${round(cam.centerZ)}`, 0, 55 );
634
+ * text(`centerZ: ${round(cam.centerZ)}`, 0, 45 );
638
635
* }
639
636
* </code>
640
637
* </div>
@@ -652,9 +649,6 @@ class Camera {
652
649
* // Create a p5.Camera object.
653
650
* cam = createCamera();
654
651
*
655
- * // Set the camera
656
- * setCamera(cam);
657
- *
658
652
* // Place the camera at the top-right.
659
653
* cam.setPosition(100, -400, 800);
660
654
*
@@ -688,7 +682,7 @@ class Camera {
688
682
* cam.lookAt(10, 20, z);
689
683
*
690
684
* // Display the value of centerZ, rounded to the nearest integer.
691
- * text(`centerZ: ${round(cam.centerZ)}`, 0, 55 );
685
+ * text(`centerZ: ${round(cam.centerZ)}`, 0, 45 );
692
686
* }
693
687
* </code>
694
688
* </div>
@@ -746,7 +740,7 @@ class Camera {
746
740
* fill(0);
747
741
*
748
742
* // Display the value of upX, rounded to the nearest tenth.
749
- * text(`upX: ${round(cam.upX, 1)}`, 0, 55 );
743
+ * text(`upX: ${round(cam.upX, 1)}`, 0, 45 );
750
744
* }
751
745
* </code>
752
746
* </div>
@@ -799,7 +793,7 @@ class Camera {
799
793
* cam.camera(100, -400, 800, 0, 0, 0, x, 1, 0);
800
794
*
801
795
* // Display the value of upX, rounded to the nearest tenth.
802
- * text(`upX: ${round(cam.upX, 1)}`, 0, 55 );
796
+ * text(`upX: ${round(cam.upX, 1)}`, 0, 45 );
803
797
* }
804
798
* </code>
805
799
* </div>
@@ -857,7 +851,7 @@ class Camera {
857
851
* fill(0);
858
852
*
859
853
* // Display the value of upY, rounded to the nearest tenth.
860
- * text(`upY: ${round(cam.upY, 1)}`, 0, 55 );
854
+ * text(`upY: ${round(cam.upY, 1)}`, 0, 45 );
861
855
* }
862
856
* </code>
863
857
* </div>
@@ -910,7 +904,7 @@ class Camera {
910
904
* cam.camera(100, -400, 800, 0, 0, 0, 0, y, 0);
911
905
*
912
906
* // Display the value of upY, rounded to the nearest tenth.
913
- * text(`upY: ${round(cam.upY, 1)}`, 0, 55 );
907
+ * text(`upY: ${round(cam.upY, 1)}`, 0, 45 );
914
908
* }
915
909
* </code>
916
910
* </div>
@@ -968,7 +962,7 @@ class Camera {
968
962
* fill(0);
969
963
*
970
964
* // Display the value of upZ, rounded to the nearest tenth.
971
- * text(`upZ: ${round(cam.upZ, 1)}`, 0, 55 );
965
+ * text(`upZ: ${round(cam.upZ, 1)}`, 0, 45 );
972
966
* }
973
967
* </code>
974
968
* </div>
@@ -1021,7 +1015,7 @@ class Camera {
1021
1015
* cam.camera(100, -400, 800, 0, 0, 0, 0, 1, z);
1022
1016
*
1023
1017
* // Display the value of upZ, rounded to the nearest tenth.
1024
- * text(`upZ: ${round(cam.upZ, 1)}`, 0, 55 );
1018
+ * text(`upZ: ${round(cam.upZ, 1)}`, 0, 45 );
1025
1019
* }
1026
1020
* </code>
1027
1021
* </div>
0 commit comments