Panda3D
Loading...
Searching...
No Matches
panda
src
physx
physxConvexForceFieldShapeDesc.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 physxConvexForceFieldShapeDesc.h
10
* @author enn0x
11
* @date 2009-11-06
12
*/
13
14
#ifndef PHYSXCONVEXFORCEFIELDSHAPEDESC_H
15
#define PHYSXCONVEXFORCEFIELDSHAPEDESC_H
16
17
#include "
pandabase.h
"
18
19
#include "
physxForceFieldShapeDesc.h
"
20
#include "
physx_includes.h
"
21
22
class
PhysxConvexMesh
;
23
24
/**
25
* A descriptor for a convex force field shape.
26
*/
27
class
EXPCL_PANDAPHYSX
PhysxConvexForceFieldShapeDesc
:
public
PhysxForceFieldShapeDesc
{
28
29
PUBLISHED:
30
INLINE
PhysxConvexForceFieldShapeDesc
();
31
INLINE
~PhysxConvexForceFieldShapeDesc
();
32
33
INLINE
void
set_to_default();
34
INLINE
bool
is_valid()
const
;
35
36
void
set_mesh(
PhysxConvexMesh
*mesh);
37
38
public
:
39
NxForceFieldShapeDesc *ptr()
const
{
return
(NxForceFieldShapeDesc *)&_desc; };
40
NxConvexForceFieldShapeDesc _desc;
41
};
42
43
#include "
physxConvexForceFieldShapeDesc.I
"
44
45
#endif
// PHYSXCONVEXFORCEFIELDSHAPEDESC_H
PhysxConvexForceFieldShapeDesc
A descriptor for a convex force field shape.
Definition
physxConvexForceFieldShapeDesc.h:27
PhysxConvexMesh
A Convex Mesh.
Definition
physxConvexMesh.h:26
PhysxForceFieldShapeDesc
Abstract base class for descriptors for force field shapes descriptors.
Definition
physxForceFieldShapeDesc.h:25
pandabase.h
PANDA 3D SOFTWARE Copyright (c) Carnegie Mellon University.
physxConvexForceFieldShapeDesc.I
PANDA 3D SOFTWARE Copyright (c) Carnegie Mellon University.
physxForceFieldShapeDesc.h
PANDA 3D SOFTWARE Copyright (c) Carnegie Mellon University.
physx_includes.h
PANDA 3D SOFTWARE Copyright (c) Carnegie Mellon University.
Generated on Mon Jan 8 2024 17:18:44 for Panda3D by
1.10.0