Skip to content

Commit c0273bb

Browse files
committed
More minor fixes
1 parent 9afdd0e commit c0273bb

File tree

2 files changed

+2
-35
lines changed

2 files changed

+2
-35
lines changed

src/webgl/3d_primitives.js

-35
Original file line numberDiff line numberDiff line change
@@ -2681,41 +2681,6 @@ function primitives3D(p5, fn){
26812681
* @chainable
26822682
*
26832683
* @example
2684-
* <div>
2685-
* <code>
2686-
* function setup() {
2687-
* createCanvas(100, 100);
2688-
*
2689-
* background(200);
2690-
*
2691-
* // Draw a black spline curve.
2692-
* noFill();
2693-
* strokeWeight(1);
2694-
* stroke(0);
2695-
* spline(5, 26, 73, 24, 73, 61, 15, 65);
2696-
*
2697-
* // Draw red spline curves from the anchor points to the control points.
2698-
* stroke(255, 0, 0);
2699-
* spline(5, 26, 5, 26, 73, 24, 73, 61);
2700-
* spline(73, 24, 73, 61, 15, 65, 15, 65);
2701-
*
2702-
* // Draw the anchor points in black.
2703-
* strokeWeight(5);
2704-
* stroke(0);
2705-
* point(73, 24);
2706-
* point(73, 61);
2707-
*
2708-
* // Draw the control points in red.
2709-
* stroke(255, 0, 0);
2710-
* point(5, 26);
2711-
* point(15, 65);
2712-
*
2713-
* describe(
2714-
* 'A gray square with a curve drawn in three segments. The curve is a sideways U shape with red segments on top and bottom, and a black segment on the right. The endpoints of all the segments are marked with dots.'
2715-
* );
2716-
* }
2717-
* </code>
2718-
* </div>
27192684
*
27202685
* <div>
27212686
* <code>

src/webgl/loading.js

+2
Original file line numberDiff line numberDiff line change
@@ -698,6 +698,7 @@ function loading(p5, fn){
698698
}
699699

700700
/**
701+
* @private
701702
* This function checks if the file is in ASCII format or in Binary format
702703
*
703704
* It is done by searching keyword `solid` at the start of the file.
@@ -738,6 +739,7 @@ function loading(p5, fn){
738739
}
739740

740741
/**
742+
* @private
741743
* This function parses the Binary STL files.
742744
* https://en.wikipedia.org/wiki/STL_%28file_format%29#Binary_STL
743745
*

0 commit comments

Comments
 (0)