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
merged 1 commit into from Feb 3, 2013

Conversation

Projects
None yet
2 participants
Contributor

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
5e552c7

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

Owner

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