Panda3D
panda
src
physx
physxSphereShapeDesc.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 physxSphereShapeDesc.cxx
10
* @author enn0x
11
* @date 2009-09-11
12
*/
13
14
#include "
physxSphereShapeDesc.h
"
15
16
/**
17
* Radius of shape. Must be positive.
18
*/
19
void
PhysxSphereShapeDesc::
20
set_radius
(
float
radius) {
21
22
_desc.radius = radius;
23
}
24
25
/**
26
* Radius of shape.
27
*/
28
float
PhysxSphereShapeDesc::
29
get_radius
()
const
{
30
31
return
_desc.radius;
32
}
physxSphereShapeDesc.h
PANDA 3D SOFTWARE Copyright (c) Carnegie Mellon University.
PhysxSphereShapeDesc::set_radius
void set_radius(float radius)
Radius of shape.
Definition:
physxSphereShapeDesc.cxx:20
PhysxSphereShapeDesc::get_radius
float get_radius() const
Radius of shape.
Definition:
physxSphereShapeDesc.cxx:29
Generated on Wed Jan 23 2019 21:40:14 for Panda3D by
1.8.15