libgdx API

Package com.badlogic.gdx.math

Class Summary
CatmullRomSpline Encapsulates a catmull rom spline with n control points, n >= 4.
Circle A convenient 2D circle class.
EarClippingTriangulator A simple implementation of the ear cutting algorithm to triangulate simple polygons without holes.
Frustum  
Intersector Class offering various static methods for intersection testing between different geometric objects.
MathUtils Utility and fast math functions.

Thanks to Riven on JavaGaming.org for sin/cos/atan2/floor/ceil.
Matrix3 A 3x3 column major matrix for 2D transforms.
Matrix4 Encapsulates a column major 4 by 4 matrix.
Plane A plane defined via a unit length normal and the distance from the origin, as you learned in your math class.
Polygon  
Quaternion A simple quaternion class.
Rectangle Encapsulates a 2D rectangle defined by it's bottom corner point and its extends in x (width) and y (height).
Vector2 Encapsulates a 2D vector.
Vector3 Encapsulates a 3D vector.
WindowedMean A simple class keeping track of the mean of a stream of values within a certain window.
 

Enum Summary
Interpolation  
Plane.PlaneSide Enum specifying on which side a point lies respective to the plane and it's normal.
 


libgdx API

Copyright 2010 Mario Zechner (contact@badlogicgames.com), Nathan Sweet (admin@esotericsoftware.com)