Panda3D
panda
src
physx
physxConvexForceFieldShapeDesc.cxx
1
// Filename: physxConvexForceFieldShapeDesc.cxx
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
#include "physxConvexForceFieldShapeDesc.h"
16
#include "physxConvexMesh.h"
17
18
////////////////////////////////////////////////////////////////////
19
// Function: PhysxConvexForceFieldShapeDesc::set_mesh
20
// Access: Published
21
// Description: Sets the convex mesh for this force field shape.
22
////////////////////////////////////////////////////////////////////
23
void
PhysxConvexForceFieldShapeDesc::
24
set_mesh
(
PhysxConvexMesh
*mesh) {
25
26
_desc.meshData = mesh->ptr();
27
}
28
29
PhysxConvexForceFieldShapeDesc::set_mesh
void set_mesh(PhysxConvexMesh *mesh)
Sets the convex mesh for this force field shape.
Definition:
physxConvexForceFieldShapeDesc.cxx:24
PhysxConvexMesh
A Convex Mesh.
Definition:
physxConvexMesh.h:29
Generated on Wed May 17 2017 23:45:39 for Panda3D by
1.8.13