*** empty log message ***

This commit is contained in:
Darren Ranalli 2001-01-25 01:12:01 +00:00
parent 40b23119d2
commit 8b57ab6c7e
11 changed files with 39 additions and 15 deletions

View File

@ -1,6 +1,6 @@
// Filename: boxEmitter.h
// Created by: charles (22Jun00)
//
//
////////////////////////////////////////////////////////////////////
#ifndef BOXEMITTER_H
@ -10,13 +10,16 @@
////////////////////////////////////////////////////////////////////
// Class : BoxEmitter
// Description : Describes a voluminous box region in which
// Description : Describes a voluminous box region in which
// particles are generated.
////////////////////////////////////////////////////////////////////
class EXPCL_PANDAPHYSICS BoxEmitter : public BaseParticleEmitter {
private:
LPoint3f _vmin, _vmax;
// CUSTOM EMISSION PARAMETERS
// none
virtual void assign_initial_position(LPoint3f& pos);
virtual void assign_initial_velocity(LVector3f& vel);

View File

@ -14,7 +14,7 @@ DiscEmitter::
DiscEmitter(void) {
_radius = 1.0f;
_inner_aoe = _outer_aoe = 0.0f;
_inner_magnitude = _outer_magnitude = 0.0f;
_inner_magnitude = _outer_magnitude = 1.0f;
_cubic_lerping = false;
}

View File

@ -1,6 +1,6 @@
// Filename: discEmitter.h
// Created by: charles (22Jun00)
//
//
////////////////////////////////////////////////////////////////////
#ifndef DISCEMITTER_H
@ -16,6 +16,8 @@
class EXPCL_PANDAPHYSICS DiscEmitter : public BaseParticleEmitter {
private:
float _radius;
// CUSTOM EMISSION PARAMETERS
float _outer_aoe, _inner_aoe;
float _outer_magnitude, _inner_magnitude;
bool _cubic_lerping;

View File

@ -1,6 +1,6 @@
// Filename: lineEmitter.h
// Created by: charles (22Jun00)
//
//
////////////////////////////////////////////////////////////////////
#ifndef LINEEMITTER_H
@ -17,6 +17,9 @@ class EXPCL_PANDAPHYSICS LineEmitter : public BaseParticleEmitter {
private:
LPoint3f _endpoint1, _endpoint2;
// CUSTOM EMISSION PARAMETERS
// none
virtual void assign_initial_position(LPoint3f& pos);
virtual void assign_initial_velocity(LVector3f& vel);

View File

@ -1,6 +1,6 @@
// Filename: pointEmitter.h
// Created by: charles (22Jun00)
//
//
////////////////////////////////////////////////////////////////////
#ifndef POINTEMITTER_H
@ -17,9 +17,12 @@ class EXPCL_PANDAPHYSICS PointEmitter : public BaseParticleEmitter {
private:
LPoint3f _location;
// CUSTOM EMISSION PARAMETERS
// none
virtual void assign_initial_position(LPoint3f& pos);
virtual void assign_initial_velocity(LVector3f& vel);
PUBLISHED:
PointEmitter(void);
PointEmitter(const PointEmitter &copy);

View File

@ -1,6 +1,6 @@
// Filename: rectangleEmitter.h
// Created by: charles (22Jun00)
//
//
////////////////////////////////////////////////////////////////////
#ifndef RECTANGLEEMITTER_H
@ -17,6 +17,9 @@ class EXPCL_PANDAPHYSICS RectangleEmitter : public BaseParticleEmitter {
private:
LPoint2f _vmin, _vmax;
// CUSTOM EMISSION PARAMETERS
// none
virtual void assign_initial_position(LPoint3f& pos);
virtual void assign_initial_velocity(LVector3f& vel);

View File

@ -50,7 +50,7 @@ make_copy(void) {
}
////////////////////////////////////////////////////////////////////
// Function : DiscEmitter::assign_initial_position
// Function : RingEmitter::assign_initial_position
// Access : Public
// Description : Generates a location for a new particle
////////////////////////////////////////////////////////////////////
@ -67,7 +67,7 @@ assign_initial_position(LPoint3f& pos) {
}
////////////////////////////////////////////////////////////////////
// Function : DiscEmitter::assign_initial_velocity
// Function : RingEmitter::assign_initial_velocity
// Access : Public
// Description : Generates a velocity for a new particle
////////////////////////////////////////////////////////////////////

View File

@ -1,6 +1,6 @@
// Filename: ringEmitter.h
// Created by: charles (22Jun00)
//
//
////////////////////////////////////////////////////////////////////
#ifndef RINGEMITTER_H
@ -16,8 +16,9 @@
class EXPCL_PANDAPHYSICS RingEmitter : public BaseParticleEmitter {
private:
float _radius;
// CUSTOM EMISSION PARAMETERS
float _aoe; // angle of elevation
float _mag;
///////////////////////////////
// scratch variables that carry over from position calc to velocity calc

View File

@ -1,6 +1,6 @@
// Filename: sphereSurfaceEmitter.h
// Created by: charles (22Jun00)
//
//
////////////////////////////////////////////////////////////////////
#ifndef SPHERESURFACEEMITTER_H
@ -17,6 +17,9 @@ class EXPCL_PANDAPHYSICS SphereSurfaceEmitter : public BaseParticleEmitter {
private:
float _radius;
// CUSTOM EMISSION PARAMETERS
// none
virtual void assign_initial_position(LPoint3f& pos);
virtual void assign_initial_velocity(LVector3f& vel);

View File

@ -1,6 +1,6 @@
// Filename: sphereVolumeEmitter.h
// Created by: charles (22Jun00)
//
//
////////////////////////////////////////////////////////////////////
#ifndef SPHEREVOLUMEEMITTER_H
@ -17,6 +17,9 @@ class EXPCL_PANDAPHYSICS SphereVolumeEmitter : public BaseParticleEmitter {
private:
float _radius;
// CUSTOM EMISSION PARAMETERS
// none
///////////////////////////////
// scratch variables that carry over from position calc to velocity calc
LPoint3f _particle_pos;

View File

@ -1,6 +1,6 @@
// Filename: tangentRingEmitter.h
// Created by: charles (25Jul00)
//
//
////////////////////////////////////////////////////////////////////
#ifndef TANGENTRINGEMITTER_H
@ -18,6 +18,9 @@ class EXPCL_PANDAPHYSICS TangentRingEmitter : public BaseParticleEmitter {
private:
float _radius;
// CUSTOM EMISSION PARAMETERS
// none
///////////////////////////////
// scratch variables that carry over from position calc to velocity calc
float _x, _y;