Skip to content
This repository has been archived by the owner on Apr 15, 2019. It is now read-only.

Commit

Permalink
Add missing function return type.
Browse files Browse the repository at this point in the history
  • Loading branch information
djcsdy committed Jul 10, 2014
1 parent f9b3643 commit a4d6933
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/net/noiseinstitute/basecode/VectorMath.as
Original file line number Diff line number Diff line change
Expand Up @@ -56,7 +56,7 @@ package net.noiseinstitute.basecode {
return Math.sqrt(v.x*v.x + v.y*v.y);
}

public static function setMagnitudeInPlace(v:Point, mag:Number) {
public static function setMagnitudeInPlace(v:Point, mag:Number):void {
if (v.x != 0 || v.y != 0) {
scaleInPlace(v, mag / magnitude(v));
}
Expand Down

0 comments on commit a4d6933

Please sign in to comment.