Panda3D
Loading...
Searching...
No Matches
physxTriangleMeshShapeDesc.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 physxTriangleMeshShapeDesc.h
10 * @author enn0x
11 * @date 2009-10-14
12 */
13
14#ifndef PHYSXTRIANGLEMESHSHAPEDESC_H
15#define PHYSXTRIANGLEMESHSHAPEDESC_H
16
17#include "pandabase.h"
18
19#include "physxShapeDesc.h"
20#include "physx_includes.h"
21
23
24/**
25 * Descriptor class for PhysxTriangleMeshShape.
26 */
27class EXPCL_PANDAPHYSX PhysxTriangleMeshShapeDesc : public PhysxShapeDesc {
28
29PUBLISHED:
32
33 INLINE void set_to_default();
34 INLINE bool is_valid() const;
35
36 void set_mesh(PhysxTriangleMesh *mesh);
37
38public:
39 NxShapeDesc *ptr() const { return (NxShapeDesc *)&_desc; };
40 NxTriangleMeshShapeDesc _desc;
41};
42
44
45#endif // PHYSXTRIANGLEMESHSHAPEDESC_H
Abstract base class for shape descriptors.
Descriptor class for PhysxTriangleMeshShape.
PANDA 3D SOFTWARE Copyright (c) Carnegie Mellon University.
PANDA 3D SOFTWARE Copyright (c) Carnegie Mellon University.
PANDA 3D SOFTWARE Copyright (c) Carnegie Mellon University.
PANDA 3D SOFTWARE Copyright (c) Carnegie Mellon University.