Panda3D

Loading...
Searching...
No Matches
physxConvexForceFieldShapeDesc.cxx
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 physxConvexForceFieldShapeDesc.cxx
10 * @author enn0x
11 * @date 2009-11-06
12 */
13
14#include "physxConvexForceFieldShapeDesc.h"
15#include "physxConvexMesh.h"
16
17/**
18 * Sets the convex mesh for this force field shape.
19 */
20 void PhysxConvexForceFieldShapeDesc::
21 set_mesh(PhysxConvexMesh *mesh) {
22
23 _desc.meshData = mesh->ptr();
24}
PhysxConvexForceFieldShapeDesc::set_mesh
void set_mesh(PhysxConvexMesh *mesh)
Sets the convex mesh for this force field shape.
Definition physxConvexForceFieldShapeDesc.cxx:21
PhysxConvexMesh
A Convex Mesh.
Definition physxConvexMesh.h:26
physxConvexForceFieldShapeDesc.h
PANDA 3D SOFTWARE Copyright (c) Carnegie Mellon University.
physxConvexMesh.h
PANDA 3D SOFTWARE Copyright (c) Carnegie Mellon University.