Panda3D
 All Classes Functions Variables Enumerations
linearUserDefinedForce.I
1 // Filename: linearUserDefinedForce.I
2 // Created by: charles (31Jul00)
3 //
4 ////////////////////////////////////////////////////////////////////
5 //
6 // PANDA 3D SOFTWARE
7 // Copyright (c) Carnegie Mellon University. All rights reserved.
8 //
9 // All use of this software is subject to the terms of the revised BSD
10 // license. You should have received a copy of this license along
11 // with this source code in a file named "LICENSE."
12 //
13 ////////////////////////////////////////////////////////////////////
14 
15 ////////////////////////////////////////////////////////////////////
16 // Function : set_proc
17 // Access : public
18 ////////////////////////////////////////////////////////////////////
19 void LinearUserDefinedForce::
20 set_proc(LVector3 (*proc)(const PhysicsObject *)) {
21  _proc = proc;
22 }
A body on which physics will be applied.
Definition: physicsObject.h:29
This is a three-component vector distance (as opposed to a three-component point, which represents a ...
Definition: lvector3.h:100