Skip to content
joelmartinez edited this page Jan 29, 2013 · 1 revision

Similar to the MathHelper implementation in XNA, the MathHelper object has some convenience methods and constants to help in mathematical computations.

  • e
  • log10E - 0.4342945
  • log2E - 1.442695
  • pi
  • piOver2 - pi / 2.0
  • piOver4 - pi / 4.0
  • twoPi - pi * 2.0

And then the list of methods

  • invert
  • clamp
  • lerp
  • toDegrees
  • toRadians
Clone this wiki locally