67 lines
1.8 KiB
Plaintext
67 lines
1.8 KiB
Plaintext
// Filename: physxSoftBody.I
|
|
// Created by: enn0x (13Sep10)
|
|
//
|
|
////////////////////////////////////////////////////////////////////
|
|
//
|
|
// 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: PhysxSoftBody::Constructor
|
|
// Access: Published
|
|
// Description:
|
|
////////////////////////////////////////////////////////////////////
|
|
INLINE PhysxSoftBody::
|
|
PhysxSoftBody() : PhysxObject() {
|
|
|
|
}
|
|
|
|
////////////////////////////////////////////////////////////////////
|
|
// Function: PhysxSoftBody::Destructor
|
|
// Access: Published
|
|
// Description:
|
|
////////////////////////////////////////////////////////////////////
|
|
INLINE PhysxSoftBody::
|
|
~PhysxSoftBody() {
|
|
|
|
}
|
|
|
|
////////////////////////////////////////////////////////////////////
|
|
// Function: PhysxSoftBody::ls
|
|
// Access: Published
|
|
// Description:
|
|
////////////////////////////////////////////////////////////////////
|
|
INLINE void PhysxSoftBody::
|
|
ls() const {
|
|
|
|
ls(nout);
|
|
}
|
|
|
|
////////////////////////////////////////////////////////////////////
|
|
// Function: PhysxSoftBody::ls
|
|
// Access: Published
|
|
// Description:
|
|
////////////////////////////////////////////////////////////////////
|
|
INLINE void PhysxSoftBody::
|
|
ls(ostream &out, int indent_level) const {
|
|
|
|
indent(out, indent_level) << get_type().get_name()
|
|
<< " " << _name
|
|
<< " (at 0x" << this << ")";
|
|
|
|
if (_node) {
|
|
out << " N:0x" << _node;
|
|
}
|
|
|
|
out << "\n";
|
|
}
|
|
|