Navigation Menu

Skip to content

Commit

Permalink
Make Color.setScalar returns this. (#9885)
Browse files Browse the repository at this point in the history
  • Loading branch information
aardgoose authored and mrdoob committed Oct 18, 2016
1 parent d14d6a8 commit 4ce415a
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/math/Color.js
Expand Up @@ -53,6 +53,8 @@ Color.prototype = {
this.g = scalar;
this.b = scalar;

return this;

},

setHex: function ( hex ) {
Expand Down

0 comments on commit 4ce415a

Please sign in to comment.