fix whitespace formatting

This commit is contained in:
Andrew Meadows 2014-06-09 11:50:31 -07:00
parent 7f25c3e011
commit 4f9da0cc37

View file

@ -23,7 +23,7 @@
// ----------------------------------------------------------------------------
// FixedConstraint
// ----------------------------------------------------------------------------
FixedConstraint::FixedConstraint(glm::vec3* point, const glm::vec3& anchor ) : _point(point), _anchor(anchor) {
FixedConstraint::FixedConstraint(glm::vec3* point, const glm::vec3& anchor) : _point(point), _anchor(anchor) {
}
float FixedConstraint::enforce() {
@ -84,7 +84,7 @@ void DistanceConstraint::updateProxyShape(Shape* shape, const glm::quat& rotatio
}
break;
case Shape::CAPSULE_SHAPE: {
// capsule collides from startPoint to endPoint
// capsule collides from startPoint to endPoint
CapsuleShape* capsule = static_cast<CapsuleShape*>(shape);
capsule->setEndPoints(translation + rotation * (*_points[0]), translation + rotation * (*_points[1]));
}