Panda3D

physxPlaneShapeDesc.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 physxPlaneShapeDesc.h
10 * @author enn0x
11 * @date 2009-09-08
12 */
13
14 #ifndef PHYSXPLANESHAPEDESC_H
15 #define PHYSXPLANESHAPEDESC_H
16
17 #include "pandabase.h"
18 #include "physxShapeDesc.h"
19
20 #include "luse.h"
21
22 #include "physx_includes.h"
23
24 /**
25 * Descriptor class for PhysxPlaneShape.
26 */
27 class EXPCL_PANDAPHYSX PhysxPlaneShapeDesc : public PhysxShapeDesc {
28
29 PUBLISHED:
30 INLINE PhysxPlaneShapeDesc();
31 INLINE ~PhysxPlaneShapeDesc();
32
33 INLINE void set_to_default();
34 INLINE bool is_valid() const;
35
36 void set_plane(const LVector3f &normal, float d);
37
38 public:
39 NxShapeDesc *ptr() const { return (NxShapeDesc *)&_desc; };
40 NxPlaneShapeDesc _desc;
41 };
42
43 #include "physxPlaneShapeDesc.I"
44
45 #endif // PHYSXPLANESHAPEDESC_H
PhysxPlaneShapeDesc
Descriptor class for PhysxPlaneShape.
Definition: physxPlaneShapeDesc.h:27
PhysxShapeDesc
Abstract base class for shape descriptors.
Definition: physxShapeDesc.h:29
luse.h
PANDA 3D SOFTWARE Copyright (c) Carnegie Mellon University.
pandabase.h
PANDA 3D SOFTWARE Copyright (c) Carnegie Mellon University.
physxPlaneShapeDesc.I
PANDA 3D SOFTWARE Copyright (c) Carnegie Mellon University.
physxShapeDesc.h
PANDA 3D SOFTWARE Copyright (c) Carnegie Mellon University.
physx_includes.h
PANDA 3D SOFTWARE Copyright (c) Carnegie Mellon University.