49 lines
1.4 KiB
Plaintext
49 lines
1.4 KiB
Plaintext
// Filename: bulletTriangleMesh.I
|
|
// Created by: enn0x (09Feb10)
|
|
//
|
|
////////////////////////////////////////////////////////////////////
|
|
//
|
|
// PANDA 3D SOFTWARE
|
|
// Copyright (c) Carnegie Mellon University. All rights reserved.
|
|
//
|
|
// All use of this software is subject to the terms of the revised BSD
|
|
// license. You should have received a copy of this license along
|
|
// with this source code in a file named "LICENSE."
|
|
//
|
|
////////////////////////////////////////////////////////////////////
|
|
|
|
|
|
////////////////////////////////////////////////////////////////////
|
|
// Function: BulletTriangleMesh::Destructor
|
|
// Access: Published
|
|
// Description:
|
|
////////////////////////////////////////////////////////////////////
|
|
INLINE BulletTriangleMesh::
|
|
~BulletTriangleMesh() {
|
|
|
|
delete _mesh;
|
|
}
|
|
|
|
////////////////////////////////////////////////////////////////////
|
|
// Function: BulletTriangleMesh::ptr
|
|
// Access: Public
|
|
// Description:
|
|
////////////////////////////////////////////////////////////////////
|
|
btTriangleMesh *BulletTriangleMesh::
|
|
ptr() const {
|
|
|
|
return _mesh;
|
|
}
|
|
|
|
////////////////////////////////////////////////////////////////////
|
|
// Function: ostream::Put To Operator
|
|
// Description:
|
|
////////////////////////////////////////////////////////////////////
|
|
INLINE ostream &
|
|
operator << (ostream &out, const BulletTriangleMesh &obj) {
|
|
|
|
obj.output(out);
|
|
return out;
|
|
}
|
|
|