Panda3D
panda
src
physics
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
}
PhysicsObject
A body on which physics will be applied.
Definition:
physicsObject.h:29
LVector3f
This is a three-component vector distance (as opposed to a three-component point, which represents a ...
Definition:
lvector3.h:100
Generated on Wed May 17 2017 23:45:24 for Panda3D by
1.8.13