Panda3D
 All Classes Functions Variables Enumerations
physxBoxControllerDesc.h
1 // Filename: physxBoxControllerDesc.h
2 // Created by: enn0x (22Sep09)
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 #ifndef PHYSXBOXCONTROLLERDESC_H
16 #define PHYSXBOXCONTROLLERDESC_H
17 
18 #include "pandabase.h"
19 #include "luse.h"
20 
21 #include "physxControllerDesc.h"
22 #include "physx_includes.h"
23 
24 ////////////////////////////////////////////////////////////////////
25 // Class : PhysxBoxControllerDesc
26 // Description : Descriptor class for PhysxBoxController.
27 ////////////////////////////////////////////////////////////////////
28 class EXPCL_PANDAPHYSX PhysxBoxControllerDesc : public PhysxControllerDesc {
29 
30 PUBLISHED:
31  INLINE PhysxBoxControllerDesc();
32  INLINE ~PhysxBoxControllerDesc();
33 
34  INLINE void set_to_default();
35  INLINE bool is_valid() const;
36 
37  void set_extents(const LVector3f &extents);
38 
39  LVector3f get_extents() const;
40 
41 public:
42  NxControllerDesc *ptr() const { return (NxControllerDesc *)&_desc; };
43  NxBoxControllerDesc _desc;
44 };
45 
46 #include "physxBoxControllerDesc.I"
47 
48 #endif // PHYSXBOXCONTROLLERDESC_H
Descriptor class for PhysxBoxController.
This is a three-component vector distance (as opposed to a three-component point, which represents a ...
Definition: lvector3.h:100
Descriptor class for a character controller.