C# Class Nez.Verlet.LineSegments

a series of points connected with DistanceConstraints
Inheritance: Composite
ファイルを表示 Open project: prime31/Nez

Public Methods

Method Description
LineSegments ( Vector2 vertices, float stiffness ) : Microsoft.Xna.Framework
pinParticleAtIndex ( int index ) : LineSegments

pins the Particle at the given index

Method Details

LineSegments() public method

public LineSegments ( Vector2 vertices, float stiffness ) : Microsoft.Xna.Framework
vertices Microsoft.Xna.Framework.Vector2
stiffness float
return Microsoft.Xna.Framework

pinParticleAtIndex() public method

pins the Particle at the given index
public pinParticleAtIndex ( int index ) : LineSegments
index int Index.
return LineSegments