@@ -351,7 +351,7 @@ function calcKoverI( k, i ) {
351
351
* Calculates derivatives (0-nd) of rational curve. See The NURBS Book, page 127, algorithm A4.2.
352
352
*
353
353
* @param {Array<Vector4> } Pders - Array with derivatives.
354
- * @return {Array<Vector4 > } An array with derivatives for rational curve.
354
+ * @return {Array<Vector3 > } An array with derivatives for rational curve.
355
355
*/
356
356
function calcRationalCurveDerivatives ( Pders ) {
357
357
@@ -395,7 +395,7 @@ function calcRationalCurveDerivatives( Pders ) {
395
395
* @param {Array<Vector4> } P - The control points in homogeneous space.
396
396
* @param {number } u - The parametric point.
397
397
* @param {number } nd - The number of derivatives.
398
- * @return {Array<Vector4 > } array with derivatives for rational curve.
398
+ * @return {Array<Vector3 > } array with derivatives for rational curve.
399
399
*/
400
400
function calcNURBSDerivatives ( p , U , P , u , nd ) {
401
401
@@ -411,7 +411,7 @@ function calcNURBSDerivatives( p, U, P, u, nd ) {
411
411
* @param {number } q - The second degree of B-Spline surface.
412
412
* @param {Array<number> } U - The first knot vector.
413
413
* @param {Array<number> } V - The second knot vector.
414
- * @param {Array<Vector4> } P - The control points in homogeneous space.
414
+ * @param {Array<Array< Vector4> > } P - The control points in homogeneous space.
415
415
* @param {number } u - The first parametric point.
416
416
* @param {number } v - The second parametric point.
417
417
* @param {Vector3 } target - The target vector.
@@ -461,7 +461,7 @@ function calcSurfacePoint( p, q, U, V, P, u, v, target ) {
461
461
* @param {Array<number> } U - The first knot vector.
462
462
* @param {Array<number> } V - The second knot vector.
463
463
* @param {Array<number> } W - The third knot vector.
464
- * @param {Array<Vector4> } P - The control points in homogeneous space.
464
+ * @param {Array<Array<Array< Vector4>> > } P - The control points in homogeneous space.
465
465
* @param {number } u - The first parametric point.
466
466
* @param {number } v - The second parametric point.
467
467
* @param {number } w - The third parametric point.
0 commit comments