public class JoglAABB extends JoglCollisionShape
Constructor and Description |
---|
JoglAABB(JoglVectord3 min,
JoglVectord3 max) |
Modifier and Type | Method and Description |
---|---|
JoglVectord3 |
getCenter() |
java.util.Vector<JoglVectord3> |
getCorners() |
double |
getHeight() |
double |
GetIntersectionDist(JoglRay r) |
JoglVectord3 |
GetIntersectionPoint(JoglRay r) |
JoglVectord3 |
getMax() |
JoglVectord3 |
getMin() |
boolean |
Intersects(JoglRay r) |
JoglAABB |
Scale(JoglVectord3 s) |
JoglAABB |
Translate(JoglVectord3 offset) |
public JoglAABB(JoglVectord3 min, JoglVectord3 max)
public JoglVectord3 getMin()
public JoglVectord3 getMax()
public JoglVectord3 getCenter()
public double getHeight()
public boolean Intersects(JoglRay r)
Intersects
in class JoglCollisionShape
public double GetIntersectionDist(JoglRay r)
public JoglVectord3 GetIntersectionPoint(JoglRay r)
public java.util.Vector<JoglVectord3> getCorners()
public JoglAABB Translate(JoglVectord3 offset)
public JoglAABB Scale(JoglVectord3 s)