open_toontown_panda3d/panda/src/physx/physxPlaneShapeDesc.I

55 lines
1.7 KiB
Plaintext

// Filename: physxPlaneShapeDesc.I
// Created by: pratt (Apr 7, 2006)
//
////////////////////////////////////////////////////////////////////
//
// 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 : is_valid
// Access : Published
// Description :
////////////////////////////////////////////////////////////////////
INLINE bool PhysxPlaneShapeDesc::
is_valid() const {
return nPlaneShapeDesc.isValid();
}
////////////////////////////////////////////////////////////////////
// Function : set_to_default
// Access : Published
// Description :
////////////////////////////////////////////////////////////////////
INLINE void PhysxPlaneShapeDesc::
set_to_default() {
nPlaneShapeDesc.setToDefault();
}
////////////////////////////////////////////////////////////////////
// Function : get_d
// Access : Published
// Description :
////////////////////////////////////////////////////////////////////
INLINE float PhysxPlaneShapeDesc::
get_d() const {
return nPlaneShapeDesc.d;
}
////////////////////////////////////////////////////////////////////
// Function : set_d
// Access : Published
// Description :
////////////////////////////////////////////////////////////////////
INLINE void PhysxPlaneShapeDesc::
set_d(float value) {
nPlaneShapeDesc.d = value;
}