Fixed typo (marging --> margin).

This commit is contained in:
enn0x 2012-01-11 20:35:45 +00:00
parent 5f9e2152da
commit 9eea663587
4 changed files with 12 additions and 12 deletions

View File

@ -43,23 +43,23 @@ ptr() const {
}
////////////////////////////////////////////////////////////////////
// Function: BulletBoxShape::get_half_extents_without_marging
// Function: BulletBoxShape::get_half_extents_without_margin
// Access: Published
// Description:
////////////////////////////////////////////////////////////////////
LVecBase3 BulletBoxShape::
get_half_extents_without_marging() const {
get_half_extents_without_margin() const {
return btVector3_to_LVecBase3(_shape->getHalfExtentsWithoutMargin());
}
////////////////////////////////////////////////////////////////////
// Function: BulletBoxShape::get_half_extents_with_marging
// Function: BulletBoxShape::get_half_extents_with_margin
// Access: Published
// Description:
////////////////////////////////////////////////////////////////////
LVecBase3 BulletBoxShape::
get_half_extents_with_marging() const {
get_half_extents_with_margin() const {
return btVector3_to_LVecBase3(_shape->getHalfExtentsWithMargin());
}

View File

@ -34,8 +34,8 @@ PUBLISHED:
BulletBoxShape(const LVecBase3 &halfExtents);
INLINE ~BulletBoxShape();
LVecBase3 get_half_extents_without_marging() const;
LVecBase3 get_half_extents_with_marging() const;
LVecBase3 get_half_extents_without_margin() const;
LVecBase3 get_half_extents_with_margin() const;
static BulletBoxShape *make_from_solid(const CollisionBox *solid);

View File

@ -35,23 +35,23 @@ get_radius() const {
}
////////////////////////////////////////////////////////////////////
// Function: BulletCylinderShape::get_half_extents_without_marging
// Function: BulletCylinderShape::get_half_extents_without_margin
// Access: Published
// Description:
////////////////////////////////////////////////////////////////////
INLINE LVecBase3 BulletCylinderShape::
get_half_extents_without_marging() const {
get_half_extents_without_margin() const {
return btVector3_to_LVecBase3(_shape->getHalfExtentsWithoutMargin());
}
////////////////////////////////////////////////////////////////////
// Function: BulletCylinderShape::get_half_extents_with_marging
// Function: BulletCylinderShape::get_half_extents_with_margin
// Access: Published
// Description:
////////////////////////////////////////////////////////////////////
INLINE LVecBase3 BulletCylinderShape::
get_half_extents_with_marging() const {
get_half_extents_with_margin() const {
return btVector3_to_LVecBase3(_shape->getHalfExtentsWithMargin());
}

View File

@ -33,8 +33,8 @@ PUBLISHED:
INLINE ~BulletCylinderShape();
INLINE PN_stdfloat get_radius() const;
INLINE LVecBase3 get_half_extents_without_marging() const;
INLINE LVecBase3 get_half_extents_with_marging() const;
INLINE LVecBase3 get_half_extents_without_margin() const;
INLINE LVecBase3 get_half_extents_with_margin() const;
public:
virtual btCollisionShape *ptr() const;