C# Class ParticlesSystem, NewTOAPIA

Inheritance: NewTOAPIA.GL.GLRenderable
Datei anzeigen Open project: Wiladams/NewTOAPIA Class Usage Examples

Public Properties

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

Protected Properties

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

Public Methods

Method Description
MainLoop ( ) : void
ini ( float timeStep ) : void

Protected Methods

Method Description
RenderContent ( GraphicsInterface gi ) : void
acumulateForces ( ) : void
calculateNormals ( ) : void
makeConstraints ( ) : void
makeQuads ( ) : void
makeTriangles ( ) : void
normalize ( float &v ) : void
prodVect ( float v1, float v2 ) : float[]
satisfyConstraints ( ) : void
vectorCopy ( float v1, float v2 ) : void
verlet ( ) : void

Method Details

MainLoop() public method

public MainLoop ( ) : void
return void

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

normalize() protected method

protected normalize ( float &v ) : void
v float
return void

prodVect() protected method

protected prodVect ( float v1, float v2 ) : float[]
v1 float
v2 float
return float[]

satisfyConstraints() protected method

protected satisfyConstraints ( ) : void
return void

vectorCopy() protected method

protected vectorCopy ( float v1, float v2 ) : void
v1 float
v2 float
return void

verlet() protected method

protected verlet ( ) : void
return void

Property Details

constraints protected_oe property

protected typeConstraint[] constraints
return typeConstraint[]

forces protected_oe property

protected float[,] forces
return ].float[

nHeight public_oe property

public int nHeight
return int

nWidth public_oe property

public int nWidth
return int

normals protected_oe property

protected float[,] normals
return ].float[

numPart protected_oe property

protected int numPart
return int

oldPositions protected_oe property

protected float[,] oldPositions
return ].float[

positions public_oe property

public float[,] positions
return ].float[

size public_oe property

public float size
return float

timeStep protected_oe property

protected float timeStep
return float

triangles public_oe property

public typeTriangle[] triangles
return typeTriangle[]

uTile public_oe property

public int uTile
return int

uvMap protected_oe property

protected float[,] uvMap
return ].float[

vTile public_oe property

public int vTile
return int