Panda3D
panda
src
physx
physxCapsuleControllerDesc.h
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 physxCapsuleControllerDesc.h
10
* @author enn0x
11
* @date 2009-09-22
12
*/
13
14
#ifndef PHYSXCAPSULECONTROLLERDESC_H
15
#define PHYSXCAPSULECONTROLLERDESC_H
16
17
#include "
pandabase.h
"
18
19
#include "
physxControllerDesc.h
"
20
#include "
physx_includes.h
"
21
22
/**
23
* Descriptor class for PhysxCapsuleController.
24
*/
25
class
EXPCL_PANDAPHYSX
PhysxCapsuleControllerDesc
:
public
PhysxControllerDesc
{
26
27
PUBLISHED:
28
INLINE
PhysxCapsuleControllerDesc
();
29
INLINE ~
PhysxCapsuleControllerDesc
();
30
31
INLINE
void
set_to_default();
32
INLINE
bool
is_valid()
const
;
33
34
void
set_radius(
float
radius);
35
void
set_height(
float
height);
36
37
float
get_radius()
const
;
38
float
get_height()
const
;
39
40
public
:
41
NxControllerDesc *ptr()
const
{
return
(NxControllerDesc *)&_desc; };
42
NxCapsuleControllerDesc _desc;
43
};
44
45
#include "
physxCapsuleControllerDesc.I
"
46
47
#endif // PHYSXCAPSULECONTROLLERDESC_H
pandabase.h
PANDA 3D SOFTWARE Copyright (c) Carnegie Mellon University.
physxCapsuleControllerDesc.I
PANDA 3D SOFTWARE Copyright (c) Carnegie Mellon University.
PhysxControllerDesc
Descriptor class for a character controller.
Definition:
physxControllerDesc.h:25
PhysxCapsuleControllerDesc
Descriptor class for PhysxCapsuleController.
Definition:
physxCapsuleControllerDesc.h:25
physxControllerDesc.h
PANDA 3D SOFTWARE Copyright (c) Carnegie Mellon University.
physx_includes.h
PANDA 3D SOFTWARE Copyright (c) Carnegie Mellon University.
Generated on Mon Sep 14 2020 15:07:04 for Panda3D by
1.8.20