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
14#include "physxSphereForceFieldShapeDesc.h"
15
16/**
17 * Radius of shape. Must be positive.
18 */
19 void PhysxSphereForceFieldShapeDesc::
20 set_radius(float radius) {
21
22 _desc.radius = radius;
23}
24
25/**
26 * Radius of shape.
27 */
28 float PhysxSphereForceFieldShapeDesc::
29 get_radius() const {
30
31 return _desc.radius;
32}
PhysxSphereForceFieldShapeDesc::set_radius
void set_radius(float radius)
Radius of shape.
Definition physxSphereForceFieldShapeDesc.cxx:20
PhysxSphereForceFieldShapeDesc::get_radius
float get_radius() const
Radius of shape.
Definition physxSphereForceFieldShapeDesc.cxx:29
physxSphereForceFieldShapeDesc.h
PANDA 3D SOFTWARE Copyright (c) Carnegie Mellon University.