C# Class Jitter.Dynamics.SoftBody.Spring

Inheritance: Constraint
Afficher le fichier Open project: tpb3d/TPB3D

Méthodes publiques

Méthode Description
DebugDraw ( IDebugDrawer drawer ) : void
Iterate ( ) : void

Iteratively solve this constraint.

PrepareForIteration ( float timestep ) : void

Called once before iteration starts.

Spring ( RigidBody body1, RigidBody body2 ) : System

Initializes a new instance of the DistanceConstraint class.

Method Details

DebugDraw() public méthode

public DebugDraw ( IDebugDrawer drawer ) : void
drawer IDebugDrawer
Résultat void

Iterate() public méthode

Iteratively solve this constraint.
public Iterate ( ) : void
Résultat void

PrepareForIteration() public méthode

Called once before iteration starts.
public PrepareForIteration ( float timestep ) : void
timestep float The 5simulation timestep
Résultat void

Spring() public méthode

Initializes a new instance of the DistanceConstraint class.
public Spring ( RigidBody body1, RigidBody body2 ) : System
body1 RigidBody The first body.
body2 RigidBody The second body.
Résultat System