com.jme3.math
Class AbstractTriangle
java.lang.Object
com.jme3.math.AbstractTriangle
- All Implemented Interfaces:
- Collidable
- Direct Known Subclasses:
- Triangle
public abstract class AbstractTriangle
- extends java.lang.Object
- implements Collidable
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
AbstractTriangle
public AbstractTriangle()
get1
public abstract Vector3f get1()
get2
public abstract Vector3f get2()
get3
public abstract Vector3f get3()
set
public abstract void set(Vector3f v1,
Vector3f v2,
Vector3f v3)
collideWith
public int collideWith(Collidable other,
CollisionResults results)
- Description copied from interface:
Collidable
- Check collision with another Collidable.
- Specified by:
collideWith
in interface Collidable
- Parameters:
other
- The object to check collision againstresults
- Will contain the list of CollisionResult
s.
- Returns:
- how many collisions were found between this and other