open_toontown_panda3d/panda/src/physx/physxClothDesc.I

60 lines
1.7 KiB
Plaintext

// Filename: physxClothDesc.I
// Created by: enn0x (30Mar10)
//
////////////////////////////////////////////////////////////////////
//
// 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: PhysxClothDesc::Constructor
// Access: Published
// Description:
////////////////////////////////////////////////////////////////////
INLINE PhysxClothDesc::
PhysxClothDesc() {
_desc.name = "";
}
////////////////////////////////////////////////////////////////////
// Function: PhysxClothDesc::Destructor
// Access: Published
// Description:
////////////////////////////////////////////////////////////////////
INLINE PhysxClothDesc::
~PhysxClothDesc() {
}
////////////////////////////////////////////////////////////////////
// Function: PhysxClothDesc::set_to_default
// Access: Published
// Description: (re)sets the structure to the default.
////////////////////////////////////////////////////////////////////
INLINE void PhysxClothDesc::
set_to_default() {
_desc.setToDefault();
}
////////////////////////////////////////////////////////////////////
// Function: PhysxClothDesc::is_valid
// Access: Published
// Description: Returns true if the descriptor is valid.
////////////////////////////////////////////////////////////////////
INLINE bool PhysxClothDesc::
is_valid() const {
return _desc.isValid();
}