|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.jocl.cloth.SimConfig
class SimConfig
Global configuration parameters for the simulation. This is not an anti-pattern, this is THE anti-pattern.
| Field Summary | |
|---|---|
(package private) static float |
COLLISION_SPHERE_RADIUS
The radius of the implicit sphere used for collision detection |
(package private) static float |
DAMPING
The damping factor for the particle velocities |
(package private) static float |
DEVIATION
The maximum deviation between the edge length and its rest length that causes a correction of its length |
(package private) static int |
NUM_ITERATIONS
The number of iterations for the loop that adjusts all edge lengths. |
(package private) static int |
STRIDE
The stride (i.e. number of components) for vertices and normals. |
(package private) static float |
TIME_STEP_SIZE
The default time step size for the simulation |
| Method Summary |
|---|
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
static final int STRIDE
static final float TIME_STEP_SIZE
static final float DAMPING
static final float DEVIATION
static final int NUM_ITERATIONS
static final float COLLISION_SPHERE_RADIUS
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||