C# 클래스 Jitter.Dynamics.SoftBody.Spring

상속: Constraint
파일 보기 프로젝트 열기: tpb3d/TPB3D

공개 메소드들

메소드 설명
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.

메소드 상세

DebugDraw() 공개 메소드

public DebugDraw ( IDebugDrawer drawer ) : void
drawer IDebugDrawer
리턴 void

Iterate() 공개 메소드

Iteratively solve this constraint.
public Iterate ( ) : void
리턴 void

PrepareForIteration() 공개 메소드

Called once before iteration starts.
public PrepareForIteration ( float timestep ) : void
timestep float The 5simulation timestep
리턴 void

Spring() 공개 메소드

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.
리턴 System