Minor renaming for upper/lower limits.

This commit is contained in:
enn0x 2011-08-20 20:40:02 +00:00
parent a0b8d5758d
commit 96061636a2
2 changed files with 12 additions and 12 deletions

View File

@ -66,48 +66,48 @@ ptr() const {
}
////////////////////////////////////////////////////////////////////
// Function: BulletGenericConstraint::set_linear_lower_limit
// Function: BulletGenericConstraint::set_lower_linear_limit
// Access: Published
// Description:
////////////////////////////////////////////////////////////////////
void BulletGenericConstraint::
set_linear_lower_limit(const LPoint3f &limit) {
set_lower_linear_limit(const LPoint3f &limit) {
nassertv(!limit.is_nan());
_constraint->setLinearLowerLimit(LVecBase3f_to_btVector3(limit));
}
////////////////////////////////////////////////////////////////////
// Function: BulletGenericConstraint::set_linear_upper_limit
// Function: BulletGenericConstraint::set_upper_linear_limit
// Access: Published
// Description:
////////////////////////////////////////////////////////////////////
void BulletGenericConstraint::
set_linear_upper_limit(const LPoint3f &limit) {
set_upper_linear_limit(const LPoint3f &limit) {
nassertv(!limit.is_nan());
_constraint->setLinearUpperLimit(LVecBase3f_to_btVector3(limit));
}
////////////////////////////////////////////////////////////////////
// Function: BulletGenericConstraint::set_angular_lower_limit
// Function: BulletGenericConstraint::set_lower_angular_limit
// Access: Published
// Description:
////////////////////////////////////////////////////////////////////
void BulletGenericConstraint::
set_angular_lower_limit(const LVector3f &limit) {
set_lower_angular_limit(const LVector3f &limit) {
nassertv(!limit.is_nan());
_constraint->setAngularLowerLimit(LVecBase3f_to_btVector3(limit));
}
////////////////////////////////////////////////////////////////////
// Function: BulletGenericConstraint::set_angular_upper_limit
// Function: BulletGenericConstraint::set_upper_angular_limit
// Access: Published
// Description:
////////////////////////////////////////////////////////////////////
void BulletGenericConstraint::
set_angular_upper_limit(const LVector3f &limit) {
set_upper_angular_limit(const LVector3f &limit) {
nassertv(!limit.is_nan());
_constraint->setAngularUpperLimit(LVecBase3f_to_btVector3(limit));

View File

@ -44,10 +44,10 @@ PUBLISHED:
bool use_frame_a);
INLINE ~BulletGenericConstraint();
void set_linear_lower_limit(const LPoint3f &limit);
void set_linear_upper_limit(const LPoint3f &limit);
void set_angular_lower_limit(const LVector3f &limit);
void set_angular_upper_limit(const LVector3f &limit);
void set_lower_linear_limit(const LPoint3f &limit);
void set_upper_linear_limit(const LPoint3f &limit);
void set_lower_angular_limit(const LVector3f &limit);
void set_upper_angular_limit(const LVector3f &limit);
public:
virtual btTypedConstraint *ptr() const;