Метод | Описание | |
---|---|---|
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 |
Метод | Описание | |
---|---|---|
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 | |
Результат | float3 |
public ExternalAcceleration ( int i, System.Single fTime, float3 akPosition, float3 akVelocity ) : float3 | ||
i | int | |
fTime | System.Single | |
akPosition | float3 | |
akVelocity | float3 | |
Результат | float3 |
protected InitializeParticle ( int index ) : void | ||
index | int | |
Результат | void |
public MassSpringCurve ( int iNumParticles, System.Single fStep ) : System | ||
iNumParticles | int | |
fStep | System.Single | |
Результат | System |