Fix kmVec4Normalize #12

Merged
merged 1 commit into from Mar 11, 2013

Conversation

Projects
None yet
2 participants
Contributor

carloscm commented Mar 11, 2013

kmVec4Normalize had two problems:

  • No division by zero check
  • Using pOut as input for the final multiplication

I've fixed both issues in the same way kmVec3Normalize avoids them.

@Kazade Kazade added a commit that referenced this pull request Mar 11, 2013

@Kazade Kazade Merge pull request #12 from carloscm/master
Fix kmVec4Normalize
15e3b7c

@Kazade Kazade merged commit 15e3b7c into Kazade:master Mar 11, 2013

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