Skip to content

Instantly share code, notes, and snippets.

@jaycody
Created March 12, 2014 07:11
Show Gist options
  • Save jaycody/9502222 to your computer and use it in GitHub Desktop.
Save jaycody/9502222 to your computer and use it in GitHub Desktop.
pro.Vector-CalculateLength
// Calc length of vector and scale it
float lenOfSpecificVector = specificVector.mag()*scayl;
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment