physxBoxShapeDesc.I 1.1 KB

12345678910111213141516171819202122232425262728293031323334
  1. // Filename: physxBoxShapeDesc.I
  2. // Created by: pratt (Apr 7, 2006)
  3. //
  4. ////////////////////////////////////////////////////////////////////
  5. //
  6. // PANDA 3D SOFTWARE
  7. // Copyright (c) Carnegie Mellon University. All rights reserved.
  8. //
  9. // All use of this software is subject to the terms of the revised BSD
  10. // license. You should have received a copy of this license along
  11. // with this source code in a file named "LICENSE."
  12. //
  13. ////////////////////////////////////////////////////////////////////
  14. ////////////////////////////////////////////////////////////////////
  15. // Function : is_valid
  16. // Access : Published
  17. // Description :
  18. ////////////////////////////////////////////////////////////////////
  19. INLINE bool PhysxBoxShapeDesc::
  20. is_valid() const {
  21. return nBoxShapeDesc.isValid();
  22. }
  23. ////////////////////////////////////////////////////////////////////
  24. // Function : set_to_default
  25. // Access : Published
  26. // Description :
  27. ////////////////////////////////////////////////////////////////////
  28. INLINE void PhysxBoxShapeDesc::
  29. set_to_default() {
  30. nBoxShapeDesc.setToDefault();
  31. }