Package teilchen.force
Class TriangleDeflector
- java.lang.Object
-
- teilchen.force.TriangleDeflector
-
- All Implemented Interfaces:
IForce
- Direct Known Subclasses:
TriangleDeflectorIndexed
public class TriangleDeflector extends java.lang.Object implements IForce
-
-
Field Summary
Fields Modifier and Type Field Description boolean
AUTO_UPDATE
-
Constructor Summary
Constructors Constructor Description TriangleDeflector()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description processing.core.PVector
a()
boolean
active()
void
active(boolean pActiveState)
void
apply(float pDeltaTime, Physics pParticleSystem)
processing.core.PVector
b()
WorldAxisAlignedBoundingBox
boundingbox()
processing.core.PVector
c()
float
coefficientofrestitution()
void
coefficientofrestitution(float pCoefficientOfRestitution)
boolean
dead()
void
dead(boolean pDead)
boolean
hit()
long
ID()
processing.core.PVector
normal()
void
updateProperties()
-
-
-
Method Detail
-
a
public processing.core.PVector a()
-
b
public processing.core.PVector b()
-
c
public processing.core.PVector c()
-
boundingbox
public WorldAxisAlignedBoundingBox boundingbox()
-
updateProperties
public void updateProperties()
-
apply
public void apply(float pDeltaTime, Physics pParticleSystem)
-
hit
public boolean hit()
-
coefficientofrestitution
public void coefficientofrestitution(float pCoefficientOfRestitution)
-
coefficientofrestitution
public float coefficientofrestitution()
-
normal
public processing.core.PVector normal()
-
-