Panda3D
panda
src
physx
physxCcdSkeletonDesc.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 physxCcdSkeletonDesc.h
10
* @author enn0x
11
* @date 2012-05-01
12
*/
13
14
#ifndef PHYSXCCDSKELETONDESC_H
15
#define PHYSXCCDSKELETONDESC_H
16
17
#include "
pandabase.h
"
18
#include "
nodePath.h
"
19
#include "
luse.h
"
20
21
#include "
physx_includes.h
"
22
23
/**
24
*
25
*/
26
class
EXPCL_PANDAPHYSX
PhysxCcdSkeletonDesc
{
27
28
PUBLISHED:
29
INLINE
PhysxCcdSkeletonDesc
();
30
INLINE ~
PhysxCcdSkeletonDesc
();
31
32
INLINE
bool
is_valid()
const
;
33
34
void
set_num_vertices(
unsigned
int
n);
35
void
set_vertex(
unsigned
int
idx,
const
LPoint3f &vert);
36
37
void
set_num_triangles(
unsigned
int
n);
38
void
set_triangle(
unsigned
int
idx,
39
unsigned
int
i1,
unsigned
int
i2,
unsigned
int
i3);
40
41
void
set_from_node_path(
const
NodePath
&np);
42
43
public
:
44
const
NxSimpleTriangleMesh &get_desc()
const
;
45
46
private
:
47
NxVec3 *_vertices;
48
NxU32 *_triangles;
49
NxSimpleTriangleMesh _desc;
50
};
51
52
#include "
physxCcdSkeletonDesc.I
"
53
54
#endif // PHYSXCCDSKELETONDESC_H
nodePath.h
PANDA 3D SOFTWARE Copyright (c) Carnegie Mellon University.
pandabase.h
PANDA 3D SOFTWARE Copyright (c) Carnegie Mellon University.
PhysxCcdSkeletonDesc
Definition:
physxCcdSkeletonDesc.h:26
physxCcdSkeletonDesc.I
PANDA 3D SOFTWARE Copyright (c) Carnegie Mellon University.
luse.h
PANDA 3D SOFTWARE Copyright (c) Carnegie Mellon University.
NodePath
NodePath is the fundamental system for disambiguating instances, and also provides a higher-level int...
Definition:
nodePath.h:159
physx_includes.h
PANDA 3D SOFTWARE Copyright (c) Carnegie Mellon University.
Generated on Sun Dec 27 2020 13:23:13 for Panda3D by
1.8.20