jME-GMath
Downloads
jME-GMath.zip: Download
jME-GMath is a collection of useful mathematical formulas for use with jMonkeyEngine. Included here are a number of bezier methods for interpolating floats, vector2/3s and ColorRGBAs. In addition to standard bezier formulas there are some additionals that plugin defaults to produce smooth interpolation, accelerating interpolation and decelerating interpolation.

Additional methods include methods to calculate the previous or next power of two from a given integer. A method that can reflect a vector from another vector and return the result. A method that will determine the closest point on the circumference of a given circle to a given point. A method that will calculate the angle between two quaternion rotations and a method that can determine the altitude of an isosceles triangle given the base of the triangle and the angle opposite to that base which can be useful for camera positioning.
Designed by Adam T. Ryder