Panda3D
Main Page
Classes
Files
File List
All
Classes
Functions
Variables
Enumerations
panda
src
physx
physxSphereForceFieldShapeDesc.cxx
1
// Filename: physxSphereForceFieldShapeDesc.cxx
2
// Created by: enn0x (06Nov09)
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
#include "physxSphereForceFieldShapeDesc.h"
16
17
////////////////////////////////////////////////////////////////////
18
// Function: PhysxSphereForceFieldShapeDesc::set_radius
19
// Access: Published
20
// Description: Radius of shape. Must be positive.
21
////////////////////////////////////////////////////////////////////
22
void
PhysxSphereForceFieldShapeDesc::
23
set_radius
(
float
radius) {
24
25
_desc.radius = radius;
26
}
27
28
////////////////////////////////////////////////////////////////////
29
// Function: PhysxSphereForceFieldShapeDesc::get_radius
30
// Access: Published
31
// Description: Radius of shape.
32
////////////////////////////////////////////////////////////////////
33
float
PhysxSphereForceFieldShapeDesc::
34
get_radius
()
const
{
35
36
return
_desc.radius;
37
}
38
PhysxSphereForceFieldShapeDesc::get_radius
float get_radius() const
Radius of shape.
Definition:
physxSphereForceFieldShapeDesc.cxx:34
PhysxSphereForceFieldShapeDesc::set_radius
void set_radius(float radius)
Radius of shape.
Definition:
physxSphereForceFieldShapeDesc.cxx:23
Generated on Mon Feb 1 2016 13:44:36 for Panda3D by
1.8.5