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éthode | Description | |
---|---|---|
Acceleration ( int i, System.Single fTime, float3 akPosition, float3 akVelocity ) : float3 | ||
InitializeParticle ( int index ) : void |
protected Acceleration ( int i, System.Single fTime, float3 akPosition, float3 akVelocity ) : float3 | ||
i | int | |
fTime | System.Single | |
akPosition | float3 | |
akVelocity | float3 | |
Résultat | float3 |
public ExternalAcceleration ( int i, System.Single fTime, float3 akPosition, float3 akVelocity ) : float3 | ||
i | int | |
fTime | System.Single | |
akPosition | float3 | |
akVelocity | float3 | |
Résultat | float3 |
protected InitializeParticle ( int index ) : void | ||
index | int | |
Résultat | void |
public MassSpringCurve ( int iNumParticles, System.Single fStep ) : System | ||
iNumParticles | int | |
fStep | System.Single | |
Résultat | System |