Skip to content

Commit 95431c9

Browse files
remove space
1 parent 9f0e406 commit 95431c9

File tree

1 file changed

+11
-11
lines changed

1 file changed

+11
-11
lines changed

src/webgl/3d_primitives.js

Lines changed: 11 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -216,7 +216,7 @@ p5.prototype.freeGeometry = function(geometry) {
216216
* 3d red and green gradient.
217217
* rotating view of a multi-colored cylinder with concave sides.
218218
*/
219-
p5.prototype.plane = function (
219+
p5.prototype.plane = function(
220220
width = 50,
221221
height = width,
222222
detailX = 1,
@@ -289,7 +289,7 @@ p5.prototype.plane = function (
289289
* </code>
290290
* </div>
291291
*/
292-
p5.prototype.box = function (width, height, depth, detailX, detailY) {
292+
p5.prototype.box = function(width, height, depth, detailX, detailY) {
293293
this._assert3d('box');
294294
p5._validateParameters('box', arguments);
295295
if (typeof width === 'undefined') {
@@ -453,7 +453,7 @@ p5.prototype.box = function (width, height, depth, detailX, detailY) {
453453
* </code>
454454
* </div>
455455
*/
456-
p5.prototype.sphere = function (radius = 50, detailX = 24, detailY = 16) {
456+
p5.prototype.sphere = function(radius = 50, detailX = 24, detailY = 16) {
457457
this._assert3d('sphere');
458458
p5._validateParameters('sphere', arguments);
459459

@@ -663,7 +663,7 @@ const _truncatedCone = function(
663663
* </code>
664664
* </div>
665665
*/
666-
p5.prototype.cylinder = function (
666+
p5.prototype.cylinder = function(
667667
radius = 50,
668668
height = radius,
669669
detailX = 24,
@@ -787,7 +787,7 @@ p5.prototype.cylinder = function (
787787
* </code>
788788
* </div>
789789
*/
790-
p5.prototype.cone = function (
790+
p5.prototype.cone = function(
791791
radius = 50,
792792
height = radius,
793793
detailX = 24,
@@ -899,7 +899,7 @@ p5.prototype.cone = function (
899899
* </code>
900900
* </div>
901901
*/
902-
p5.prototype.ellipsoid = function (
902+
p5.prototype.ellipsoid = function(
903903
radiusX = 50,
904904
radiusY = radiusX,
905905
radiusZ = radiusX,
@@ -1148,7 +1148,7 @@ p5.prototype.torus = function(radius, tubeRadius, detailX, detailY) {
11481148
* </code>
11491149
* </div>
11501150
*/
1151-
p5.RendererGL.prototype.point = function (x, y, z = 0) {
1151+
p5.RendererGL.prototype.point = function(x, y, z = 0) {
11521152

11531153
const _vertex = [];
11541154
_vertex.push(new p5.Vector(x, y, z));
@@ -1157,7 +1157,7 @@ p5.RendererGL.prototype.point = function (x, y, z = 0) {
11571157
return this;
11581158
};
11591159

1160-
p5.RendererGL.prototype.triangle = function (args) {
1160+
p5.RendererGL.prototype.triangle = function(args) {
11611161
const x1 = args[0],
11621162
y1 = args[1];
11631163
const x2 = args[2],
@@ -1210,7 +1210,7 @@ p5.RendererGL.prototype.triangle = function (args) {
12101210
return this;
12111211
};
12121212

1213-
p5.RendererGL.prototype.ellipse = function (args) {
1213+
p5.RendererGL.prototype.ellipse = function(args) {
12141214
this.arc(
12151215
args[0],
12161216
args[1],
@@ -1223,7 +1223,7 @@ p5.RendererGL.prototype.ellipse = function (args) {
12231223
);
12241224
};
12251225

1226-
p5.RendererGL.prototype.arc = function (...args) {
1226+
p5.RendererGL.prototype.arc = function(...args) {
12271227
const x = args[0];
12281228
const y = args[1];
12291229
const width = args[2];
@@ -1340,7 +1340,7 @@ p5.RendererGL.prototype.arc = function (...args) {
13401340
return this;
13411341
};
13421342

1343-
p5.RendererGL.prototype.rect = function (args) {
1343+
p5.RendererGL.prototype.rect = function(args) {
13441344
const x = args[0];
13451345
const y = args[1];
13461346
const width = args[2];

0 commit comments

Comments
 (0)