Permalink
Browse files

Merge pull request #4 from leolannenmaki/master

Fix argument order when calling Mesh constructor
  • Loading branch information...
2 parents 1ac10aa + 2d7f351 commit 5e552c7819152d37e73e08965e5e7e85243e540c @maxogden committed Feb 3, 2013
Showing with 2 additions and 2 deletions.
  1. +2 −2 index.js
View
@@ -1,7 +1,7 @@
var THREE = require('three')
-module.exports = function(data, scaleFactor, mesher) {
- return new Mesh(data, scaleFactor, mesher)
+module.exports = function(data, mesher, scaleFactor) {
+ return new Mesh(data, mesher, scaleFactor)
}
module.exports.Mesh = Mesh

0 comments on commit 5e552c7

Please sign in to comment.