ModCS.Triangle
The ModCS.Triangle namespace contains functions related to the "Triangle" math functions the game uses.
ModCS.Triangle.GetSin()
ModCS.Triangle.GetSin(num)
Returns the Sin (Cave Story integer-like) of a given num, in Pixel Units.
ModCS.Triangle.GetCos()
ModCS.Triangle.GetCos(num)
Returns the Cos (Cave Story integer-like) of a given num, in Pixel Units.
ModCS.Triangle.GetSin2()
ModCS.Triangle.GetSin2(num)
Returns the Sin (Cave Story integer-like) of a given num.
ModCS.Triangle.GetCos2()
ModCS.Triangle.GetCos2(num)
Returns the Cos (Cave Story integer-like) of a given num.
ModCS.Triangle.GetArktan()
ModCS.Triangle.GetArktan(x, y)
Returns the Arktan of an X and Y position.