Panda3D
Loading...
Searching...
No Matches
physxSphereForceFieldShapeDesc.cxx
Go to the documentation of this file.
1/**
2 * PANDA 3D SOFTWARE
3 * Copyright (c) Carnegie Mellon University. All rights reserved.
4 *
5 * All use of this software is subject to the terms of the revised BSD
6 * license. You should have received a copy of this license along
7 * with this source code in a file named "LICENSE."
8 *
9 * @file physxSphereForceFieldShapeDesc.cxx
10 * @author enn0x
11 * @date 2009-11-06
12 */
13
15
16/**
17 * Radius of shape. Must be positive.
18 */
20set_radius(float radius) {
21
22 _desc.radius = radius;
23}
24
25/**
26 * Radius of shape.
27 */
29get_radius() const {
30
31 return _desc.radius;
32}
void set_radius(float radius)
Radius of shape.
PANDA 3D SOFTWARE Copyright (c) Carnegie Mellon University.