Important Announcement
Forum has been made read-only. Please click here for more information or here to return to The Spriters Resource.

[MATH] Method to reduce both sides of an equation?
#7
Well I can give you an operation that would restrict a set of numbers to your range of 1 to 50, but it's probably not what you're looking for:

X mod 50 + 1

But that doesn't produce any sort of scale. It just gives you a number that's between 1 and 50 based on the remainder of X / 50.


Messages In This Thread
RE: [MATH] Method to reduce both sides of an equation? - by DarkWolf - 01-19-2011, 02:48 PM

Forum Jump:


Users browsing this thread: 1 Guest(s)