C# Class Cloth.ParticlesSystem

Inheritance: GLRenderable
Show file Open project: Wiladams/NewTOAPIA

Public Properties

Property Type Description
nHeight int
nWidth int
positions NewTOAPIA.GL.float3[]
size float
triangles typeTriangle[]
uTile int
vTile int

Protected Properties

Property Type Description
constraints typeConstraint[]
forces NewTOAPIA.GL.float3[]
normals NewTOAPIA.GL.float3[]
numPart int
oldPositions NewTOAPIA.GL.float3[]
timeStep float
uvMap ].float[

Public Methods

Method Description
MainLoop ( ) : void
ParticlesSystem ( Resolution res, float timeStep ) : System
ini ( float timeStep ) : void

Protected Methods

Method Description
RenderContent ( GraphicsInterface gi ) : void
acumulateForces ( ) : void
calculateNormals ( ) : void
makeConstraints ( ) : void
makeQuads ( ) : void
makeTriangles ( ) : void
satisfyConstraints ( ) : void
vectorCopy ( float3 dst, float3 src ) : void
verlet ( ) : void

Method Details

MainLoop() public method

public MainLoop ( ) : void
return void

ParticlesSystem() public method

public ParticlesSystem ( Resolution res, float timeStep ) : System
res NewTOAPIA.Graphics.Resolution
timeStep float
return System

RenderContent() protected method

protected RenderContent ( GraphicsInterface gi ) : void
gi NewTOAPIA.GL.GraphicsInterface
return void

acumulateForces() protected method

protected acumulateForces ( ) : void
return void

calculateNormals() protected method

protected calculateNormals ( ) : void
return void

ini() public method

public ini ( float timeStep ) : void
timeStep float
return void

makeConstraints() protected method

protected makeConstraints ( ) : void
return void

makeQuads() protected method

protected makeQuads ( ) : void
return void

makeTriangles() protected method

protected makeTriangles ( ) : void
return void

satisfyConstraints() protected method

protected satisfyConstraints ( ) : void
return void

vectorCopy() protected method

protected vectorCopy ( float3 dst, float3 src ) : void
dst NewTOAPIA.GL.float3
src NewTOAPIA.GL.float3
return void

verlet() protected method

protected verlet ( ) : void
return void

Property Details

constraints protected property

protected typeConstraint[] constraints
return typeConstraint[]

forces protected property

protected float3[],NewTOAPIA.GL forces
return NewTOAPIA.GL.float3[]

nHeight public property

public int nHeight
return int

nWidth public property

public int nWidth
return int

normals protected property

protected float3[],NewTOAPIA.GL normals
return NewTOAPIA.GL.float3[]

numPart protected property

protected int numPart
return int

oldPositions protected property

protected float3[],NewTOAPIA.GL oldPositions
return NewTOAPIA.GL.float3[]

positions public property

public float3[],NewTOAPIA.GL positions
return NewTOAPIA.GL.float3[]

size public property

public float size
return float

timeStep protected property

protected float timeStep
return float

triangles public property

public typeTriangle[] triangles
return typeTriangle[]

uTile public property

public int uTile
return int

uvMap protected property

protected float[,] uvMap
return ].float[

vTile public property

public int vTile
return int