C# Class Nez.Verlet.Box

creates a simple box with diagonal contraints to keep it rigid
Inheritance: Composite
Show file Open project: prime31/Nez

Public Methods

Method Description
Box ( Vector2 center, float width, float height, float borderStiffness = 0.2f, float diagonalStiffness = 0.5f ) : Microsoft.Xna.Framework

Method Details

Box() public method

public Box ( Vector2 center, float width, float height, float borderStiffness = 0.2f, float diagonalStiffness = 0.5f ) : Microsoft.Xna.Framework
center Microsoft.Xna.Framework.Vector2
width float
height float
borderStiffness float
diagonalStiffness float
return Microsoft.Xna.Framework