C# Class NewTOAPIA.Modeling.MassSpringCurve

Inheritance: ParticleSystem
Afficher le fichier Open project: Wiladams/NewTOAPIA

Méthodes publiques

Méthode Description
Constant ( int i ) : System.Single
ExternalAcceleration ( int i, System.Single fTime, float3 akPosition, float3 akVelocity ) : float3

The default external force is zero. To provide nonzero external forces, a subclass can override this method and supply forces such as gravity, wind, friction, and the like. This function is called from the Acceleration()... method, to append the acceleration F/m generated by the external force F.

Length ( int i ) : System.Single
MassSpringCurve ( int iNumParticles, System.Single fStep ) : System
Render ( NewTOAPIA gi ) : void

Méthodes protégées

Méthode Description
Acceleration ( int i, System.Single fTime, float3 akPosition, float3 akVelocity ) : float3
InitializeParticle ( int index ) : void

Method Details

Acceleration() protected méthode

protected Acceleration ( int i, System.Single fTime, float3 akPosition, float3 akVelocity ) : float3
i int
fTime System.Single
akPosition float3
akVelocity float3
Résultat float3

Constant() public méthode

public Constant ( int i ) : System.Single
i int
Résultat System.Single

ExternalAcceleration() public méthode

The default external force is zero. To provide nonzero external forces, a subclass can override this method and supply forces such as gravity, wind, friction, and the like. This function is called from the Acceleration()... method, to append the acceleration F/m generated by the external force F.
public ExternalAcceleration ( int i, System.Single fTime, float3 akPosition, float3 akVelocity ) : float3
i int
fTime System.Single
akPosition float3
akVelocity float3
Résultat float3

InitializeParticle() protected méthode

protected InitializeParticle ( int index ) : void
index int
Résultat void

Length() public méthode

public Length ( int i ) : System.Single
i int
Résultat System.Single

MassSpringCurve() public méthode

public MassSpringCurve ( int iNumParticles, System.Single fStep ) : System
iNumParticles int
fStep System.Single
Résultat System

Render() public méthode

public Render ( NewTOAPIA gi ) : void
gi NewTOAPIA
Résultat void