Skip to content

Commit 69ce2b8

Browse files
committed
bug fixes
1 parent d31fab9 commit 69ce2b8

File tree

3 files changed

+8
-4
lines changed

3 files changed

+8
-4
lines changed

glmath.js

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1843,9 +1843,13 @@ GLMath.RollPitchYaw = 4;
18431843
* @const
18441844
*/
18451845
GLMath.RollYawPitch = 5;
1846-
/** @deprecated Renamed to quatToTaitBryan. */
1846+
/** @deprecated Renamed to quatToTaitBryan.
1847+
@function
1848+
*/
18471849
GLMath.quatToEuler=GLMath.quatToTaitBryan;
1848-
/** @deprecated Renamed to quatFromTaitBryan. */
1850+
/** @deprecated Renamed to quatFromTaitBryan.
1851+
@function
1852+
*/
18491853
GLMath.quatFromEuler=GLMath.quatFromTaitBryan;
18501854
exports["GLMath"]=GLMath;
18511855
}));

glutil-eval.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -480,7 +480,7 @@ BSplineCurve.clampedKnots=function(controlPoints,degree){
480480
if(controlPoints<degree+1)
481481
throw new Error("too few control points for degree "+degree+" curve")
482482
var order=degree+1;
483-
var extras=controlPoints-degree;
483+
var extras=controlPoints-order;
484484
var ret=[];
485485
for(var i=0;i<order;i++){
486486
ret.push(0)

glutil_min.js

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)