com.sun.electric.plugins.j3d
Class J3DKeyCollision
java.lang.Object
Behavior
com.sun.electric.plugins.j3d.J3DKeyBehavior
com.sun.electric.plugins.j3d.J3DKeyCollision
public class J3DKeyCollision
- extends J3DKeyBehavior
Inspired in example found in Daniel Selman's book "Java 3D Programming"
For more information about the original example, contact Daniel Selman: daniel@selman.org
Free Software Foundation, Inc.,
59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
- Version:
- 0.1
- Author:
- Gilda Garreton
Method Summary |
protected boolean |
updateTransform(boolean force)
Method to apply given transformation |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
J3DKeyCollision
public J3DKeyCollision(TransformGroup tg,
View3DWindow collisionDetector)
updateTransform
protected boolean updateTransform(boolean force)
- Method to apply given transformation
- Overrides:
updateTransform
in class J3DKeyBehavior
- Returns:
- true if there was no collision