61 lines
1.9 KiB
Plaintext
61 lines
1.9 KiB
Plaintext
// Filename: physxCapsuleForceFieldShapeDesc.I
|
|
// Created by: enn0x (06Nov09)
|
|
//
|
|
////////////////////////////////////////////////////////////////////
|
|
//
|
|
// 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: PhysxCapsuleForceFieldShapeDesc::Constructor
|
|
// Access: Published
|
|
// Description:
|
|
////////////////////////////////////////////////////////////////////
|
|
INLINE PhysxCapsuleForceFieldShapeDesc::
|
|
PhysxCapsuleForceFieldShapeDesc() : PhysxForceFieldShapeDesc() {
|
|
|
|
set_to_default();
|
|
}
|
|
|
|
////////////////////////////////////////////////////////////////////
|
|
// Function: PhysxCapsuleForceFieldShapeDesc::Destructor
|
|
// Access: Published
|
|
// Description:
|
|
////////////////////////////////////////////////////////////////////
|
|
INLINE PhysxCapsuleForceFieldShapeDesc::
|
|
~PhysxCapsuleForceFieldShapeDesc() {
|
|
|
|
}
|
|
|
|
////////////////////////////////////////////////////////////////////
|
|
// Function: PhysxCapsuleForceFieldShapeDesc::set_to_default
|
|
// Access: Published
|
|
// Description: (re)sets the structure to the default.
|
|
////////////////////////////////////////////////////////////////////
|
|
INLINE void PhysxCapsuleForceFieldShapeDesc::
|
|
set_to_default() {
|
|
|
|
_desc.setToDefault();
|
|
set_name("");
|
|
}
|
|
|
|
////////////////////////////////////////////////////////////////////
|
|
// Function: PhysxCapsuleForceFieldShapeDesc::is_valid
|
|
// Access: Published
|
|
// Description: Returns true if the descriptor is valid.
|
|
////////////////////////////////////////////////////////////////////
|
|
INLINE bool PhysxCapsuleForceFieldShapeDesc::
|
|
is_valid() const {
|
|
|
|
return _desc.isValid();
|
|
}
|
|
|