Package gaiasky.util.math
-
Interface Summary Interface Description ITrigonometry Trigonometry interface to enable multiple implementationsPathd<T> Interface that specifies a path of type T within the window 0.0<=t<=1.0.Vectord<T extends Vectord<T>> Encapsulates a general vector. -
Class Summary Class Description BoundingBoxd Encapsulates an axis aligned bounding box represented by a minimum and a maximum Vector.BSplined<T extends Vectord<T>> CatmullRomSplined<T extends Vectord<T>> Doubleref FastTrigonometry Uses jafama (FastMath
) library.Frustumd A truncated rectangular pyramid.Interpolationd Takes a linear value in the range of 0-1 and outputs a (usually) non-linear, interpolated value.Interpolationd.Bounce Interpolationd.BounceIn Interpolationd.BounceOut Interpolationd.Elastic Interpolationd.ElasticIn Interpolationd.ElasticOut Interpolationd.Exp Interpolationd.ExpIn Interpolationd.ExpOut Interpolationd.Pow Interpolationd.PowIn Interpolationd.PowOut Interpolationd.Swing Interpolationd.SwingIn Interpolationd.SwingOut Intersectord Lineard<T extends Vectord<T>> Longref MathManager MathUtilsd Utility and fast math functions.Matrix4d Encapsulates a column major 4 by 4 matrix.Planed A plane defined via a unit length normal and the distance from the origin, as you learned in your math class.Quaterniond A simple quaternion class.Rayd Encapsulates a Rayd having a starting position and a unit length direction.StdRandom TheStdRandom
class provides static methods for generating random number from various discrete and continuous distributions, including Bernoulli, uniform, Gaussian, exponential, pareto, Poisson, and Cauchy.Trigonometry Uses the defaultMath
library.Vector2d Encapsulates a 2D vector.Vector3b Vector of arbitrary precision floating point numbers using ApFloat.Vector3d Copy of libgdx's Vector3d class using 64-bit floating point numbers. -
Enum Summary Enum Description Planed.PlaneSide Enum specifying on which side a point lies respective to the plane and it's normal.