Skip to content

Commit

Permalink
Merge pull request #2 from tomfurrier/master
Browse files Browse the repository at this point in the history
Fixed compiler error
  • Loading branch information
prime31 committed Mar 21, 2016
2 parents 2af7c3d + ec3222e commit ea15de3
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Assets/UtilityKit/MathHelpers.cs
Original file line number Diff line number Diff line change
Expand Up @@ -52,7 +52,7 @@ public static float map( float value, float leftMin, float leftMax, float rightM
/// <returns>The to nearest.</returns>
/// <param name="value">Value.</param>
/// <param name="roundToNearest">Round to nearest.</param>
public float roundToNearest( float value, float roundToNearest )
public static float roundToNearest( float value, float roundToNearest )
{
return Mathf.Round( value / roundToNearest ) * roundToNearest;
}
Expand Down

0 comments on commit ea15de3

Please sign in to comment.