open_toontown_panda3d/panda/src/particlesystem/pointParticle.cxx

88 lines
2.7 KiB
C++

// Filename: pointParticle.cxx
// Created by: charles (19Jun00)
//
////////////////////////////////////////////////////////////////////
//
// PANDA 3D SOFTWARE
// Copyright (c) 2001, Disney Enterprises, Inc. All rights reserved
//
// All use of this software is subject to the terms of the Panda 3d
// Software license. You should have received a copy of this license
// along with this source code; you will also find a current copy of
// the license at http://www.panda3d.org/license.txt .
//
// To contact the maintainers of this program write to
// panda3d@yahoogroups.com .
//
////////////////////////////////////////////////////////////////////
#include "pointParticle.h"
////////////////////////////////////////////////////////////////////
// Function : PointParticle
// Access : Public
// Description : simple constructor
////////////////////////////////////////////////////////////////////
PointParticle::
PointParticle(int lifespan, bool alive) :
BaseParticle(lifespan, alive) {
set_oriented(false);
}
////////////////////////////////////////////////////////////////////
// Function : PointParticle
// Access : Public
// Description : copy constructor
////////////////////////////////////////////////////////////////////
PointParticle::
PointParticle(const PointParticle &copy) :
BaseParticle(copy) {
set_oriented(false);
}
////////////////////////////////////////////////////////////////////
// Function : ~PointParticle
// Access : Public
// Description : simple destructor
////////////////////////////////////////////////////////////////////
PointParticle::
~PointParticle(void) {
}
////////////////////////////////////////////////////////////////////
// Function : make_copy
// Access : Public
// Description : dynamic copier
////////////////////////////////////////////////////////////////////
PhysicsObject *PointParticle::
make_copy(void) const {
return new PointParticle(*this);
}
////////////////////////////////////////////////////////////////////
// Function : die
// Access : Public
// Description : particle death routine
////////////////////////////////////////////////////////////////////
void PointParticle::
die(void) {
}
////////////////////////////////////////////////////////////////////
// Function : init
// Access : Public
// Description : particle init routine
////////////////////////////////////////////////////////////////////
void PointParticle::
init(void) {
}
////////////////////////////////////////////////////////////////////
// Function : update
// Access : Public
// Description : particle update
////////////////////////////////////////////////////////////////////
void PointParticle::
update(void) {
}