open_toontown_panda3d/panda/src/physics/angularForce.cxx

72 lines
2.1 KiB
C++

// Filename: angularForce.cxx
// Created by: charles (08Aug00)
//
////////////////////////////////////////////////////////////////////
//
// 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 "angularForce.h"
TypeHandle AngularForce::_type_handle;
////////////////////////////////////////////////////////////////////
// Function : AngularForce
// Access : protected
// Description : constructor
////////////////////////////////////////////////////////////////////
AngularForce::
AngularForce(void) :
BaseForce() {
}
////////////////////////////////////////////////////////////////////
// Function : AngularForce
// Access : protected
// Description : copy constructor
////////////////////////////////////////////////////////////////////
AngularForce::
AngularForce(const AngularForce &copy) :
BaseForce(copy) {
}
////////////////////////////////////////////////////////////////////
// Function : ~AngularForce
// Access : public, virtual
// Description : destructor
////////////////////////////////////////////////////////////////////
AngularForce::
~AngularForce(void) {
}
////////////////////////////////////////////////////////////////////
// Function : get_vector
// Access : public
// Description : access query
////////////////////////////////////////////////////////////////////
LVector3f AngularForce::
get_vector(const PhysicsObject *po) {
LVector3f v = get_child_vector(po);
return v;
}
////////////////////////////////////////////////////////////////////
// Function : is_linear
// Access : public
// Description : access query
////////////////////////////////////////////////////////////////////
bool AngularForce::
is_linear(void) const {
return false;
}