Panda3D
 All Classes Functions Variables Enumerations
physxConvexShapeDesc.cxx
1 // Filename: physxConvexShapeDesc.cxx
2 // Created by: enn0x (14Oct09)
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 #include "physxConvexShapeDesc.h"
16 #include "physxConvexMesh.h"
17 
18 ////////////////////////////////////////////////////////////////////
19 // Function: PhysxConvexShapeDesc::set_mesh
20 // Access: Published
21 // Description:
22 ////////////////////////////////////////////////////////////////////
23 void PhysxConvexShapeDesc::
24 set_mesh(PhysxConvexMesh *mesh) {
25 
26  _desc.meshData = mesh->ptr();
27 }
28 
29 
A Convex Mesh.