Skip to content

Commit 6223ff4

Browse files
committed
documentation fix
1 parent 47cdae1 commit 6223ff4

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

src/math/math.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,7 @@
3232
* constant to convert from radians to degrees
3333
* @public
3434
* @type {Number}
35-
* @name DEG_TO_RAD
35+
* @name RAD_TO_DEG
3636
* @memberOf me.Math
3737
*/
3838
api.RAD_TO_DEG = 180.0 / Math.PI;

src/renderable/renderable.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -281,7 +281,7 @@
281281
* // add a red tint to this renderable
282282
* this.renderable.tint = new me.Color(255, 128, 128);
283283
* // disable the tint
284-
* this.renderable.setColor(255, 255, 255);
284+
* this.renderable.tint.setColor(255, 255, 255);
285285
*/
286286
this.tint = undefined;
287287

0 commit comments

Comments
 (0)