Browse Source

*** empty log message ***

Darren Ranalli 25 years ago
parent
commit
e0aef3de3e
27 changed files with 61 additions and 62 deletions
  1. 2 2
      panda/src/particlesystem/baseParticle.cxx
  2. 2 2
      panda/src/particlesystem/baseParticleEmitter.cxx
  3. 3 3
      panda/src/particlesystem/baseParticleFactory.cxx
  4. 1 1
      panda/src/particlesystem/baseParticleRenderer.cxx
  5. 2 2
      panda/src/particlesystem/boxEmitter.cxx
  6. 2 3
      panda/src/particlesystem/config_particlesystem.cxx
  7. 1 1
      panda/src/particlesystem/config_particlesystem.h
  8. 6 6
      panda/src/particlesystem/discEmitter.cxx
  9. 2 2
      panda/src/particlesystem/geomParticleRenderer.cxx
  10. 2 2
      panda/src/particlesystem/lineEmitter.cxx
  11. 3 3
      panda/src/particlesystem/orientedParticle.cxx
  12. 2 2
      panda/src/particlesystem/orientedParticleFactory.cxx
  13. 6 6
      panda/src/particlesystem/particleSystem.cxx
  14. 1 1
      panda/src/particlesystem/particleSystemManager.cxx
  15. 3 3
      panda/src/particlesystem/pointEmitter.cxx
  16. 2 2
      panda/src/particlesystem/pointParticle.cxx
  17. 2 2
      panda/src/particlesystem/pointParticleFactory.cxx
  18. 2 2
      panda/src/particlesystem/pointParticleRenderer.cxx
  19. 2 2
      panda/src/particlesystem/rectangleEmitter.cxx
  20. 3 3
      panda/src/particlesystem/ringEmitter.cxx
  21. 3 3
      panda/src/particlesystem/sparkleParticleRenderer.cxx
  22. 2 2
      panda/src/particlesystem/sphereSurfaceEmitter.cxx
  23. 2 2
      panda/src/particlesystem/sphereVolumeEmitter.cxx
  24. 1 1
      panda/src/particlesystem/spriteParticleRenderer.cxx
  25. 2 2
      panda/src/particlesystem/tangentRingEmitter.cxx
  26. 1 1
      panda/src/particlesystem/zSpinParticle.cxx
  27. 1 1
      panda/src/particlesystem/zSpinParticleFactory.cxx

+ 2 - 2
panda/src/particlesystem/baseParticle.cxx

@@ -1,6 +1,6 @@
-// Filename: baseParticle.C
+// Filename: baseParticle.cxx
 // Created by:  charles (14Jun00)
-// 
+//
 ////////////////////////////////////////////////////////////////////
 
 #include "baseParticle.h"

+ 2 - 2
panda/src/particlesystem/baseParticleEmitter.cxx

@@ -1,6 +1,6 @@
-// Filename: baseParticleEmitter.C
+// Filename: baseParticleEmitter.cxx
 // Created by:  charles (14Jun00)
-// 
+//
 ////////////////////////////////////////////////////////////////////
 
 #include "baseParticleEmitter.h"

+ 3 - 3
panda/src/particlesystem/baseParticleFactory.cxx

@@ -1,6 +1,6 @@
-// Filename: baseParticleFactory.C
+// Filename: baseParticleFactory.cxx
 // Created by:  charles (05Jul00)
-// 
+//
 ////////////////////////////////////////////////////////////////////
 
 #include "baseParticleFactory.h"
@@ -14,7 +14,7 @@ BaseParticleFactory::
 BaseParticleFactory(void) {
   _mass_base = 1.0f;
   _mass_spread = 0.0f;
-  
+
   _terminal_velocity_base = PhysicsObject::_default_terminal_velocity;
   _terminal_velocity_spread = 0.0f;
 

+ 1 - 1
panda/src/particlesystem/baseParticleRenderer.cxx

@@ -1,4 +1,4 @@
-// Filename: baseParticleRenderer.C
+// Filename: baseParticleRenderer.cxx
 // Created by:  charles (20Jun00)
 //
 ////////////////////////////////////////////////////////////////////

+ 2 - 2
panda/src/particlesystem/boxEmitter.cxx

@@ -1,6 +1,6 @@
-// Filename: boxEmitter.C
+// Filename: boxEmitter.cxx
 // Created by:  charles (22Jun00)
-// 
+//
 ////////////////////////////////////////////////////////////////////
 
 #include "boxEmitter.h"

+ 2 - 3
panda/src/particlesystem/config_particlesystem.cxx

@@ -1,12 +1,11 @@
-// Filename: config_particlesystem.C
+// Filename: config_particlesystem.cxx
 // Created by:  charles (05Jul00)
-// 
+//
 ////////////////////////////////////////////////////////////////////
 
 #include "config_particlesystem.h"
 #include "particleSystem.h"
 #include "geomParticleRenderer.h"
-#include <config.h>
 
 ConfigureDef(config_particlesystem);
 NotifyCategoryDef(particlesystem, "");

+ 1 - 1
panda/src/particlesystem/config_particlesystem.h

@@ -8,7 +8,7 @@
 
 #include <pandabase.h>
 #include <notifyCategoryProxy.h>
-#include <config.h>
+#include <dconfig.h>
 
 ConfigureDecl(config_particlesystem, EXPCL_PANDAPHYSICS, EXPTP_PANDAPHYSICS);
 NotifyCategoryDecl(particlesystem, EXPCL_PANDAPHYSICS, EXPTP_PANDAPHYSICS);

+ 6 - 6
panda/src/particlesystem/discEmitter.cxx

@@ -1,13 +1,13 @@
-// Filename: discEmitter.C
+// Filename: discEmitter.cxx
 // Created by:  charles (22Jun00)
-// 
+//
 ////////////////////////////////////////////////////////////////////
 
 #include "discEmitter.h"
 
 ////////////////////////////////////////////////////////////////////
 //    Function : DiscEmitter::DiscEmitter
-//      Access : Public 
+//      Access : Public
 // Description : constructor
 ////////////////////////////////////////////////////////////////////
 DiscEmitter::
@@ -20,7 +20,7 @@ DiscEmitter(void) {
 
 ////////////////////////////////////////////////////////////////////
 //    Function : DiscEmitter::DiscEmitter
-//      Access : Public 
+//      Access : Public
 // Description : copy constructor
 ////////////////////////////////////////////////////////////////////
 DiscEmitter::
@@ -40,7 +40,7 @@ DiscEmitter(const DiscEmitter &copy) :
 
 ////////////////////////////////////////////////////////////////////
 //    Function : DiscEmitter::~DiscEmitter
-//      Access : Public 
+//      Access : Public
 // Description : destructor
 ////////////////////////////////////////////////////////////////////
 DiscEmitter::
@@ -49,7 +49,7 @@ DiscEmitter::
 
 ////////////////////////////////////////////////////////////////////
 //    Function : make_copy
-//      Access : Public 
+//      Access : Public
 // Description : copier
 ////////////////////////////////////////////////////////////////////
 BaseParticleEmitter *DiscEmitter::

+ 2 - 2
panda/src/particlesystem/geomParticleRenderer.cxx

@@ -1,6 +1,6 @@
-// Filename: geomParticleRenderer.C
+// Filename: geomParticleRenderer.cxx
 // Created by:  charles (05Jul00)
-// 
+//
 ////////////////////////////////////////////////////////////////////
 
 #include "geomParticleRenderer.h"

+ 2 - 2
panda/src/particlesystem/lineEmitter.cxx

@@ -1,6 +1,6 @@
-// Filename: lineEmitter.C
+// Filename: lineEmitter.cxx
 // Created by:  charles (22Jun00)
-// 
+//
 ////////////////////////////////////////////////////////////////////
 
 #include "lineEmitter.h"

+ 3 - 3
panda/src/particlesystem/orientedParticle.cxx

@@ -1,6 +1,6 @@
-// Filename: orientedParticle.C
+// Filename: orientedParticle.cxx
 // Created by:  charles (19Jun00)
-// 
+//
 ////////////////////////////////////////////////////////////////////
 
 #include "orientedParticle.h"
@@ -66,7 +66,7 @@ die(void) {
 ////////////////////////////////////////////////////////////////////
 //    Function : update
 //      Access : public
-// Description : particle update routine.  
+// Description : particle update routine.
 //               This NEEDS to be filled in with quaternion slerp
 //               stuff, or oriented particles will not rotate.
 ////////////////////////////////////////////////////////////////////

+ 2 - 2
panda/src/particlesystem/orientedParticleFactory.cxx

@@ -1,6 +1,6 @@
-// Filename: orientedParticleFactory.C
+// Filename: orientedParticleFactory.cxx
 // Created by:  charles (05Jul00)
-// 
+//
 ////////////////////////////////////////////////////////////////////
 
 #include "orientedParticleFactory.h"

+ 6 - 6
panda/src/particlesystem/particleSystem.cxx

@@ -1,6 +1,6 @@
-// Filename: particleSystem.C
+// Filename: particleSystem.cxx
 // Created by:  charles (14Jun00)
-// 
+//
 ////////////////////////////////////////////////////////////////////
 
 #include <stdlib.h>
@@ -28,7 +28,7 @@
 // Description : Default Constructor.
 ////////////////////////////////////////////////////////////////////
 ParticleSystem::
-ParticleSystem(int pool_size) : 
+ParticleSystem(int pool_size) :
   _particle_pool_size(pool_size), Physical(pool_size, false)
 {
   _birth_rate = 0.0f;
@@ -46,7 +46,7 @@ ParticleSystem(int pool_size) :
   // just in case someone tries to do something that requires the
   // use of an emitter, renderer, or factory before they've actually
   // assigned one.  This is ok, because assigning them (set_renderer(),
-  // set_emitter(), etc...) forces them to set themselves up for the 
+  // set_emitter(), etc...) forces them to set themselves up for the
   // system, keeping the pool sizes consistent.
 
   _render_arc.clear();
@@ -219,7 +219,7 @@ spawn_child_system(BaseParticle *bp) {
     return;
   }
 
-  NodeRelation *parent_relation = 
+  NodeRelation *parent_relation =
     this_pn->get_parent(RenderRelation::get_class_type(), 0);
 
   Node *parent = parent_relation->get_parent();
@@ -249,7 +249,7 @@ spawn_child_system(BaseParticle *bp) {
   LMatrix4f old_system_to_parent_xform;
   get_rel_mat(get_physical_node(), parent, old_system_to_parent_xform);
 
-  LMatrix4f child_space_xform = old_system_to_parent_xform * 
+  LMatrix4f child_space_xform = old_system_to_parent_xform *
     bp->get_lcs();
 
   rr->set_transition(new TransformTransition(child_space_xform));

+ 1 - 1
panda/src/particlesystem/particleSystemManager.cxx

@@ -1,4 +1,4 @@
-// Filename: particleSystemManager.C
+// Filename: particleSystemManager.cxx
 // Created by:  charles (28Jun00)
 //
 ////////////////////////////////////////////////////////////////////

+ 3 - 3
panda/src/particlesystem/pointEmitter.cxx

@@ -1,6 +1,6 @@
-// Filename: pointEmitter.C
+// Filename: pointEmitter.cxx
 // Created by:  charles (22Jun00)
-// 
+//
 ////////////////////////////////////////////////////////////////////
 
 #include "pointEmitter.h"
@@ -11,7 +11,7 @@
 // Description : constructor
 ////////////////////////////////////////////////////////////////////
 PointEmitter::
-PointEmitter(void) : 
+PointEmitter(void) :
   BaseParticleEmitter() {
   _location.set(0.0f, 0.0f, 0.0f);
 }

+ 2 - 2
panda/src/particlesystem/pointParticle.cxx

@@ -1,6 +1,6 @@
-// Filename: pointParticle.C
+// Filename: pointParticle.cxx
 // Created by:  charles (19Jun00)
-// 
+//
 ////////////////////////////////////////////////////////////////////
 
 #include "pointParticle.h"

+ 2 - 2
panda/src/particlesystem/pointParticleFactory.cxx

@@ -1,6 +1,6 @@
-// Filename: pointParticleFactory.C
+// Filename: pointParticleFactory.cxx
 // Created by:  charles (05Jul00)
-// 
+//
 ////////////////////////////////////////////////////////////////////
 
 #include "pointParticleFactory.h"

+ 2 - 2
panda/src/particlesystem/pointParticleRenderer.cxx

@@ -1,6 +1,6 @@
-// Filename: pointParticleRenderer.C
+// Filename: pointParticleRenderer.cxx
 // Created by:  charles (20Jun00)
-// 
+//
 ////////////////////////////////////////////////////////////////////
 
 #include <boundingSphere.h>

+ 2 - 2
panda/src/particlesystem/rectangleEmitter.cxx

@@ -1,6 +1,6 @@
-// Filename: rectangleEmitter.C
+// Filename: rectangleEmitter.cxx
 // Created by:  charles (22Jun00)
-// 
+//
 ////////////////////////////////////////////////////////////////////
 
 #include "rectangleEmitter.h"

+ 3 - 3
panda/src/particlesystem/ringEmitter.cxx

@@ -1,6 +1,6 @@
-// Filename: ringEmitter.C
+// Filename: ringEmitter.cxx
 // Created by:  charles (22Jun00)
-// 
+//
 ////////////////////////////////////////////////////////////////////
 
 #include "ringEmitter.h"
@@ -25,7 +25,7 @@ RingEmitter(const RingEmitter &copy) :
   BaseParticleEmitter(copy) {
   _radius = copy._radius;
   _aoe = copy._aoe;
-  
+
   _sin_theta = copy._sin_theta;
   _cos_theta = copy._cos_theta;
 }

+ 3 - 3
panda/src/particlesystem/sparkleParticleRenderer.cxx

@@ -1,6 +1,6 @@
-// Filename: sparkleParticleRenderer.C
+// Filename: sparkleParticleRenderer.cxx
 // Created by:  charles (27Jun00)
-// 
+//
 ////////////////////////////////////////////////////////////////////
 
 #include "sparkleParticleRenderer.h"
@@ -35,7 +35,7 @@ SparkleParticleRenderer(const Colorf& center, const Colorf& edge,
 			SparkleParticleLifeScale life_scale,
 			ParticleRendererAlphaMode alpha_mode) :
   _center_color(center), _edge_color(edge), _birth_radius(birth_radius),
-  _death_radius(death_radius), _life_scale(life_scale), 
+  _death_radius(death_radius), _life_scale(life_scale),
   BaseParticleRenderer(alpha_mode) {
   _line_primitive = new GeomLine;
   init_geoms();

+ 2 - 2
panda/src/particlesystem/sphereSurfaceEmitter.cxx

@@ -1,6 +1,6 @@
-// Filename: sphereSurfaceEmitter.C
+// Filename: sphereSurfaceEmitter.cxx
 // Created by:  charles (22Jun00)
-// 
+//
 ////////////////////////////////////////////////////////////////////
 
 #include "sphereSurfaceEmitter.h"

+ 2 - 2
panda/src/particlesystem/sphereVolumeEmitter.cxx

@@ -1,6 +1,6 @@
-// Filename: sphereVolumeEmitter.C
+// Filename: sphereVolumeEmitter.cxx
 // Created by:  charles (22Jun00)
-// 
+//
 ////////////////////////////////////////////////////////////////////
 
 #include "sphereVolumeEmitter.h"

+ 1 - 1
panda/src/particlesystem/spriteParticleRenderer.cxx

@@ -1,4 +1,4 @@
-// Filename: spriteParticleRenderer.C
+// Filename: spriteParticleRenderer.cxx
 // Created by:  charles (13Jul00)
 //
 ////////////////////////////////////////////////////////////////////

+ 2 - 2
panda/src/particlesystem/tangentRingEmitter.cxx

@@ -1,6 +1,6 @@
-// Filename: tangentRingEmitter.C
+// Filename: tangentRingEmitter.cxx
 // Created by:  charles (25Jul00)
-// 
+//
 ////////////////////////////////////////////////////////////////////
 
 #include "tangentRingEmitter.h"

+ 1 - 1
panda/src/particlesystem/zSpinParticle.cxx

@@ -1,4 +1,4 @@
-// Filename: zSpinParticle.C
+// Filename: zSpinParticle.cxx
 // Created by:  charles (16Aug00)
 //
 ////////////////////////////////////////////////////////////////////

+ 1 - 1
panda/src/particlesystem/zSpinParticleFactory.cxx

@@ -1,4 +1,4 @@
-// Filename: zSpinParticleFactory.C
+// Filename: zSpinParticleFactory.cxx
 // Created by:  charles (16Aug00)
 //
 ////////////////////////////////////////////////////////////////////