Skip to content

Commit 2b8b5f2

Browse files
committed
edit docs
1 parent 41e3271 commit 2b8b5f2

File tree

3 files changed

+5
-5
lines changed

3 files changed

+5
-5
lines changed

glutil-transform.js

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,7 @@ function Transform(){
3232
*/
3333
this.position=[0,0,0];
3434
/**
35-
* The rotation of an object in the form of a [quaternion]{@link glmath.GLMath}.
35+
* The rotation of an object in the form of a [quaternion]{@tutorial glmath}.
3636
* The value given here is informational only and should not be modified directly.
3737
* Use the setOrientation or setQuaternion method to set this value.
3838
*/
@@ -149,7 +149,7 @@ Transform.prototype.setPosition=function(x,y,z){
149149
return this;
150150
}
151151
/**
152-
* Sets this object's orientation in the form of a [quaternion]{@link glmath.GLMath} (a 4-element array
152+
* Sets this object's orientation in the form of a [quaternion]{@tutorial glmath} (a 4-element array
153153
* for describing 3D rotations). Has no effect if a matrix was defined with {@link glutil.Transform#setMatrix}
154154
* and the transform wasn't reset yet with {@link glutil.Transform#resetTransform}.
155155
* @param {Array<number>} quat A four-element array describing the rotation.
@@ -199,7 +199,7 @@ Transform.prototype.setOrientation=function(angle, v,vy,vz){
199199
}
200200
/**
201201
* Combines an object's current rotation with another rotation
202-
* described by a [quaternion]{@link glmath.GLMath} (a 4-element array
202+
* described by a [quaternion]{@tutorial glmath} (a 4-element array
203203
* for describing 3D rotations). The combined rotation will have the
204204
* same effect as the new rotation followed by the existing rotation.
205205
* Has no effect if a matrix was defined with {@link glutil.Transform#setMatrix}

glutil.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2026,7 +2026,7 @@ Shape.prototype.setPosition=function(x,y,z){
20262026
return this;
20272027
}
20282028
/**
2029-
* Sets this object's orientation in the form of a [quaternion]{@link glmath.GLMath}.
2029+
* Sets this object's orientation in the form of a [quaternion]{@tutorial glmath}.
20302030
* See {@link glutil.Transform#setQuaternion}.
20312031
* @param {Array<number>} quat A four-element array describing the rotation.
20322032
* @return {glutil.Shape} This object.

promise.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
Any copyright is dedicated to the Public Domain.
33
http://creativecommons.org/publicdomain/zero/1.0/
44
*/
5-
// Note by Peter O., 2013-03-09: This file was taken
5+
// Note by Peter O., 2015-03-09: This file was taken
66
// from https://github.com/ondras/promise/.
77
(function (root, factory) {
88
if (typeof define === "function" && define["amd"]) {

0 commit comments

Comments
 (0)