|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface Armature
An armature is a container for 3D objects. It will be used for collision tests. Armature are usually less complicated than the actual 3D object. They are usually cubes or spheres, to simplify calculations.
Method Summary | |
---|---|
boolean |
contains(Point3 p)
Returns true if the given point is contained by the armature. |
Point3 |
getIntersectionPoint(Ray r)
Test whether a ray intersects with the armature. |
boolean |
intersects(Ray r)
Return if the given ray intersects with the armature |
Method Detail |
---|
boolean contains(Point3 p)
p
- the point
Point3 getIntersectionPoint(Ray r)
r
- the ray
boolean intersects(Ray r)
r
- the ray
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |