Public Member Functions | |
GeometryData (final Vec2F[][] points, final Vec3F[] cs) | |
GeometryData (final GeometryData gd1, final GeometryData gd2) | |
Vec2F | minVectorOfCollision () |
void | setVectorOfCollision (Vec2F v) |
GeometryData | transform (final Transform tfo, GeometryData out) |
final Vec2F[][] | points () |
final Vec3F[] | circles () |
final Vec2F[][] | edges () |
final boolean | isCollision (final GeometryData d) |
float | determineOverlapVector (float sMin, float sMax, float tMin, float tMax) |
Protected Member Functions | |
final void | setData (Vec2F[][] points, Vec3F[] cs) |
Protected Attributes | |
Vec2F[][] | points_ |
Vec3F[] | circles_ |
Vec2F[][] | edges_ |
Vec2F | minCollision_ = new Vec2F() |
Vec2F | normal = new Vec2F() |
Vec2F | axis_ = new Vec2F() |
Vec2F | axiss_ = new Vec2F() |
Vec2F | tmp0_ = new Vec2F() |
Vec2F | tmp1_ = new Vec2F() |
Vec2F | tmp2_ = new Vec2F() |
final void celery::engine::graphics::entities::GeometryData::setData | ( | Vec2F | points[][], | |
Vec3F[] | cs | |||
) | [inline, protected] |
tfo | The transformation of the points/circles (usually the primitive's transformation) | |
points | A list of list of points of each polygon's points (may be null) | |
cs | A list of circles contained by the primitive (may be null) |