Panda3D

bulletShape.I

00001 // Filename: bulletShape.I
00002 // Created by:  enn0x (23Jan10)
00003 //
00004 ////////////////////////////////////////////////////////////////////
00005 //
00006 // PANDA 3D SOFTWARE
00007 // Copyright (c) Carnegie Mellon University.  All rights reserved.
00008 //
00009 // All use of this software is subject to the terms of the revised BSD
00010 // license.  You should have received a copy of this license along
00011 // with this source code in a file named "LICENSE."
00012 //
00013 ////////////////////////////////////////////////////////////////////
00014 
00015 ////////////////////////////////////////////////////////////////////
00016 //     Function: BulletShape::Destructor
00017 //       Access: Published
00018 //  Description:
00019 ////////////////////////////////////////////////////////////////////
00020 INLINE BulletShape::
00021 ~BulletShape() {
00022 
00023 }
00024 
00025 ////////////////////////////////////////////////////////////////////
00026 //     Function: BulletShape::is_polyhedral
00027 //       Access: Public
00028 //  Description:
00029 ////////////////////////////////////////////////////////////////////
00030 INLINE bool BulletShape::
00031 is_polyhedral() const {
00032 
00033   return ptr()->isPolyhedral();
00034 }
00035 
00036 ////////////////////////////////////////////////////////////////////
00037 //     Function: BulletShape::is_convex
00038 //       Access: Public
00039 //  Description:
00040 ////////////////////////////////////////////////////////////////////
00041 INLINE bool BulletShape::
00042 is_convex() const {
00043 
00044   return ptr()->isConvex();
00045 }
00046 
00047 ////////////////////////////////////////////////////////////////////
00048 //     Function: BulletShape::is_convex_2d
00049 //       Access: Public
00050 //  Description:
00051 ////////////////////////////////////////////////////////////////////
00052 INLINE bool BulletShape::
00053 is_convex_2d() const {
00054 
00055   return ptr()->isConvex2d();
00056 }
00057 
00058 ////////////////////////////////////////////////////////////////////
00059 //     Function: BulletShape::is_concave
00060 //       Access: Public
00061 //  Description:
00062 ////////////////////////////////////////////////////////////////////
00063 INLINE bool BulletShape::
00064 is_concave() const {
00065 
00066   return ptr()->isConcave();
00067 }
00068 
00069 ////////////////////////////////////////////////////////////////////
00070 //     Function: BulletShape::is_infinite
00071 //       Access: Public
00072 //  Description:
00073 ////////////////////////////////////////////////////////////////////
00074 INLINE bool BulletShape::
00075 is_infinite() const {
00076 
00077   return ptr()->isInfinite();
00078 }
00079 
00080 ////////////////////////////////////////////////////////////////////
00081 //     Function: BulletShape::is_non_moving
00082 //       Access: Public
00083 //  Description:
00084 ////////////////////////////////////////////////////////////////////
00085 INLINE bool BulletShape::
00086 is_non_moving() const {
00087 
00088   return ptr()->isNonMoving();
00089 }
00090 
00091 ////////////////////////////////////////////////////////////////////
00092 //     Function: BulletShape::is_soft_body
00093 //       Access: Public
00094 //  Description:
00095 ////////////////////////////////////////////////////////////////////
00096 INLINE bool BulletShape::
00097 is_soft_body() const {
00098 
00099   return ptr()->isSoftBody();
00100 }
00101 
 All Classes Functions Variables Enumerations