Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

Already on GitHub? Sign in to your account

Fix argument order when calling Mesh constructor #4

merged 1 commit into from Feb 3, 2013


None yet
2 participants

leolannenmaki commented Feb 3, 2013

Constructor looks like this

function Mesh(data, mesher, scaleFactor) {

But it was called like this

module.exports = function(data, scaleFactor, mesher) {
  return new Mesh(data, scaleFactor, mesher)

@maxogden maxogden added a commit that referenced this pull request Feb 3, 2013

@maxogden maxogden Merge pull request #4 from leolannenmaki/master
Fix argument order when calling Mesh constructor

@maxogden maxogden merged commit 5e552c7 into maxogden:master Feb 3, 2013


maxogden commented Feb 3, 2013

good catch, thanks!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment