Panda3D
Main Page
Classes
Files
File List
All
Classes
Functions
Variables
Enumerations
panda
src
physx
physxConvexForceFieldShapeDesc.h
1
// Filename: physxConvexForceFieldShapeDesc.h
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
#ifndef PHYSXCONVEXFORCEFIELDSHAPEDESC_H
16
#define PHYSXCONVEXFORCEFIELDSHAPEDESC_H
17
18
#include "pandabase.h"
19
20
#include "physxForceFieldShapeDesc.h"
21
#include "physx_includes.h"
22
23
class
PhysxConvexMesh
;
24
25
////////////////////////////////////////////////////////////////////
26
// Class : PhysxConvexForceFieldShapeDesc
27
// Description : A descriptor for a convex force field shape.
28
////////////////////////////////////////////////////////////////////
29
class
EXPCL_PANDAPHYSX
PhysxConvexForceFieldShapeDesc
:
public
PhysxForceFieldShapeDesc
{
30
31
PUBLISHED:
32
INLINE
PhysxConvexForceFieldShapeDesc
();
33
INLINE ~PhysxConvexForceFieldShapeDesc();
34
35
INLINE
void
set_to_default();
36
INLINE
bool
is_valid()
const
;
37
38
void
set_mesh(
PhysxConvexMesh
*mesh);
39
40
public
:
41
NxForceFieldShapeDesc *ptr()
const
{
return
(NxForceFieldShapeDesc *)&_desc; };
42
NxConvexForceFieldShapeDesc _desc;
43
};
44
45
#include "physxConvexForceFieldShapeDesc.I"
46
47
#endif // PHYSXCONVEXFORCEFIELDSHAPEDESC_H
PhysxForceFieldShapeDesc
Abstract base class for descriptors for force field shapes descriptors.
Definition:
physxForceFieldShapeDesc.h:28
PhysxConvexForceFieldShapeDesc
A descriptor for a convex force field shape.
Definition:
physxConvexForceFieldShapeDesc.h:29
PhysxConvexMesh
A Convex Mesh.
Definition:
physxConvexMesh.h:29
Generated on Mon Feb 1 2016 13:44:36 for Panda3D by
1.8.5