Particle Struct Reference

#include <Particle.h>

Collaboration diagram for Particle:

Collaboration graph
[legend]

List of all members.

Public Member Functions

 Particle (const pVec &pos, const pVec &posB, const pVec &up, const pVec &upB, const pVec &vel, const pVec &velB, const pVec &rvel, const pVec &rvelB, const pVec &size, const pVec &color, float alpha, float age, float mass, long data, float tmp0)
 Particle (const Particle &rhs)
 Particle ()
bool operator< (const Particle &P) const

Public Attributes

pVec pos
pVec posB
pVec up
pVec upB
pVec vel
pVec velB
pVec rvel
pVec rvelB
pVec size
pVec color
float alpha
float age
float mass
long data
float tmp0


Detailed Description

Definition at line 14 of file Particle.h.


Constructor & Destructor Documentation

Particle::Particle ( const pVec pos,
const pVec posB,
const pVec up,
const pVec upB,
const pVec vel,
const pVec velB,
const pVec rvel,
const pVec rvelB,
const pVec size,
const pVec color,
float  alpha,
float  age,
float  mass,
long  data,
float  tmp0 
) [inline]

Definition at line 32 of file Particle.h.

00037                                                                                :
00038             pos(pos), posB(posB),
00039             up(up), upB(upB),
00040             vel(vel), velB(velB),
00041             rvel(rvel), rvelB(rvelB),
00042             size(size), color(color),
00043             alpha(alpha), age(age), mass(mass), data(data), tmp0(0)
00044     {
00045     }

Particle::Particle ( const Particle rhs  )  [inline]

Definition at line 47 of file Particle.h.

00047                                          :
00048             pos(rhs.pos), posB(rhs.posB),
00049             up(rhs.up), upB(rhs.upB),
00050             vel(rhs.vel), velB(rhs.velB),
00051             rvel(rhs.rvel), rvelB(rhs.rvelB),
00052             size(rhs.size), color(rhs.color),
00053             alpha(rhs.alpha), age(rhs.age), mass(rhs.mass), data(rhs.data), tmp0(rhs.tmp0)
00054     {
00055     }

Particle::Particle (  )  [inline]

Definition at line 57 of file Particle.h.

00057                : data(0)
00058     {
00059     }


Member Function Documentation

bool Particle::operator< ( const Particle P  )  const [inline]

Definition at line 62 of file Particle.h.

References tmp0.

00063     {
00064         return tmp0 < P.tmp0;
00065     }


Member Data Documentation

pVec Particle::pos

Definition at line 16 of file Particle.h.

Referenced by PABounce::Exec(), PAAvoid::Exec(), pGetParticlePointer(), and pGetParticles().

pVec Particle::posB

Definition at line 17 of file Particle.h.

Referenced by pGetParticlePointer(), and pVertex().

pVec Particle::up

Definition at line 18 of file Particle.h.

Referenced by pVertex().

pVec Particle::upB

Definition at line 19 of file Particle.h.

pVec Particle::vel

Definition at line 20 of file Particle.h.

Referenced by PABounce::Exec(), PAAvoid::Exec(), pGetParticlePointer(), pGetParticles(), and pVertex().

pVec Particle::velB

Definition at line 21 of file Particle.h.

Referenced by pGetParticlePointer().

pVec Particle::rvel

Definition at line 22 of file Particle.h.

Referenced by pVertex().

pVec Particle::rvelB

Definition at line 23 of file Particle.h.

pVec Particle::size

Definition at line 24 of file Particle.h.

Referenced by pGetParticlePointer(), and pGetParticles().

pVec Particle::color

Definition at line 25 of file Particle.h.

Referenced by pGetParticlePointer(), and pGetParticles().

float Particle::alpha

Definition at line 26 of file Particle.h.

Referenced by pGetParticlePointer(), pGetParticles(), and pVertex().

float Particle::age

Definition at line 27 of file Particle.h.

Referenced by pGetParticlePointer(), and pGetParticles().

float Particle::mass

Definition at line 28 of file Particle.h.

long Particle::data

Definition at line 29 of file Particle.h.

float Particle::tmp0

Definition at line 30 of file Particle.h.

Referenced by operator<().


The documentation for this struct was generated from the following file:
Generated on Sat Mar 15 23:51:22 2008 for Armagetron Advanced by  doxygen 1.5.4