Main Page   Class Hierarchy   Alphabetical List   Compound List   File List   Compound Members   File Members  

panda/src/particlesystem/pointParticle.cxx

Go to the documentation of this file.
00001 // Filename: pointParticle.cxx
00002 // Created by:  charles (19Jun00)
00003 //
00004 ////////////////////////////////////////////////////////////////////
00005 //
00006 // PANDA 3D SOFTWARE
00007 // Copyright (c) 2001, Disney Enterprises, Inc.  All rights reserved
00008 //
00009 // All use of this software is subject to the terms of the Panda 3d
00010 // Software license.  You should have received a copy of this license
00011 // along with this source code; you will also find a current copy of
00012 // the license at http://www.panda3d.org/license.txt .
00013 //
00014 // To contact the maintainers of this program write to
00015 // panda3d@yahoogroups.com .
00016 //
00017 ////////////////////////////////////////////////////////////////////
00018 
00019 #include "pointParticle.h"
00020 
00021 ////////////////////////////////////////////////////////////////////
00022 //    Function : PointParticle
00023 //      Access : Public
00024 // Description : simple constructor
00025 ////////////////////////////////////////////////////////////////////
00026 PointParticle::
00027 PointParticle(int lifespan, bool alive) :
00028   BaseParticle(lifespan, alive) {
00029   set_oriented(false);
00030 }
00031 
00032 ////////////////////////////////////////////////////////////////////
00033 //    Function : PointParticle
00034 //      Access : Public
00035 // Description : copy constructor
00036 ////////////////////////////////////////////////////////////////////
00037 PointParticle::
00038 PointParticle(const PointParticle &copy) :
00039   BaseParticle(copy) {
00040   set_oriented(false);
00041 }
00042 
00043 ////////////////////////////////////////////////////////////////////
00044 //    Function : ~PointParticle
00045 //      Access : Public
00046 // Description : simple destructor
00047 ////////////////////////////////////////////////////////////////////
00048 PointParticle::
00049 ~PointParticle(void) {
00050 }
00051 
00052 ////////////////////////////////////////////////////////////////////
00053 //    Function : make_copy
00054 //      Access : Public
00055 // Description : dynamic copier
00056 ////////////////////////////////////////////////////////////////////
00057 PhysicsObject *PointParticle::
00058 make_copy(void) const {
00059   return new PointParticle(*this);
00060 }
00061 
00062 ////////////////////////////////////////////////////////////////////
00063 //    Function : die
00064 //      Access : Public
00065 // Description : particle death routine
00066 ////////////////////////////////////////////////////////////////////
00067 void PointParticle::
00068 die(void) {
00069 }
00070 
00071 ////////////////////////////////////////////////////////////////////
00072 //    Function : init
00073 //      Access : Public
00074 // Description : particle init routine
00075 ////////////////////////////////////////////////////////////////////
00076 void PointParticle::
00077 init(void) {
00078 }
00079 
00080 ////////////////////////////////////////////////////////////////////
00081 //    Function : update
00082 //      Access : Public
00083 // Description : particle update
00084 ////////////////////////////////////////////////////////////////////
00085 void PointParticle::
00086 update(void) {
00087 }

Generated on Fri May 2 00:40:59 2003 for Panda by doxygen1.3