|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.threerings.opengl.model.CollisionMesh
public class CollisionMesh
A mesh used for collision detection.
| Constructor Summary | |
|---|---|
CollisionMesh()
No-arg constructor for deserialization. |
|
CollisionMesh(Vector3f... vertices)
Creates the mesh from an array of vertices, where each set of three vertices represents a triangle. |
|
| Method Summary | |
|---|---|
Box |
getBounds()
Returns a reference to the bounds of the mesh. |
boolean |
getIntersection(Ray3D ray,
Vector3f result)
Finds the intersection of the given ray with this mesh and places it in the supplied result object. |
| Methods inherited from class java.lang.Object |
|---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public CollisionMesh(Vector3f... vertices)
public CollisionMesh()
| Method Detail |
|---|
public Box getBounds()
public boolean getIntersection(Ray3D ray,
Vector3f result)
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||