Fix merge mess
This commit is contained in:
parent
87b88fc953
commit
494f866357
4
.gitignore
vendored
4
.gitignore
vendored
@ -25,3 +25,7 @@ Thumbs.db
|
|||||||
# vim swap files
|
# vim swap files
|
||||||
#####################
|
#####################
|
||||||
*.*sw*
|
*.*sw*
|
||||||
|
|
||||||
|
# CMake build directory
|
||||||
|
#######################
|
||||||
|
build/*
|
||||||
|
|||||||
@ -400,13 +400,8 @@ void RigidBody::updateBroadPhaseState() const {
|
|||||||
|
|
||||||
PROFILE("RigidBody::updateBroadPhaseState()");
|
PROFILE("RigidBody::updateBroadPhaseState()");
|
||||||
|
|
||||||
<<<<<<< HEAD
|
|
||||||
DynamicsWorld& world = static_cast<DynamicsWorld&>(mWorld);
|
DynamicsWorld& world = static_cast<DynamicsWorld&>(mWorld);
|
||||||
const Vector3 displacement = world.mTimer.getTimeStep() * mLinearVelocity;
|
const Vector3 displacement = world.mTimer.getTimeStep() * mLinearVelocity;
|
||||||
=======
|
|
||||||
DynamicsWorld& world = dynamic_cast<DynamicsWorld&>(mWorld);
|
|
||||||
const Vector3 displacement = world.mTimeStep* mLinearVelocity;
|
|
||||||
>>>>>>> 1bde11f245806de07a12b1cf6c33cdb83046b882
|
|
||||||
|
|
||||||
// For all the proxy collision shapes of the body
|
// For all the proxy collision shapes of the body
|
||||||
for (ProxyShape* shape = mProxyCollisionShapes; shape != NULL; shape = shape->mNext) {
|
for (ProxyShape* shape = mProxyCollisionShapes; shape != NULL; shape = shape->mNext) {
|
||||||
|
|||||||
@ -92,15 +92,9 @@ class Box : public openglframework::Object3D, public PhysicsObject {
|
|||||||
virtual void updateTransform(float interpolationFactor);
|
virtual void updateTransform(float interpolationFactor);
|
||||||
};
|
};
|
||||||
|
|
||||||
<<<<<<< HEAD:examples/common/Box.h
|
|
||||||
// Return a pointer to the rigid body of the box
|
|
||||||
inline rp3d::RigidBody* Box::getRigidBody() {
|
|
||||||
return static_cast<rp3d::RigidBody*>(mRigidBody);
|
|
||||||
=======
|
|
||||||
// Update the transform matrix of the object
|
// Update the transform matrix of the object
|
||||||
inline void Box::updateTransform(float interpolationFactor) {
|
inline void Box::updateTransform(float interpolationFactor) {
|
||||||
mTransformMatrix = computeTransform(interpolationFactor, mScalingMatrix);
|
mTransformMatrix = computeTransform(interpolationFactor, mScalingMatrix);
|
||||||
>>>>>>> 1bde11f245806de07a12b1cf6c33cdb83046b882:testbed/common/Box.h
|
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
|||||||
@ -100,15 +100,9 @@ class Capsule : public openglframework::Mesh, public PhysicsObject {
|
|||||||
virtual void updateTransform(float interpolationFactor);
|
virtual void updateTransform(float interpolationFactor);
|
||||||
};
|
};
|
||||||
|
|
||||||
<<<<<<< HEAD:examples/common/Capsule.h
|
|
||||||
// Return a pointer to the rigid body of the box
|
|
||||||
inline rp3d::RigidBody* Capsule::getRigidBody() {
|
|
||||||
return static_cast<rp3d::RigidBody*>(mRigidBody);
|
|
||||||
=======
|
|
||||||
// Update the transform matrix of the object
|
// Update the transform matrix of the object
|
||||||
inline void Capsule::updateTransform(float interpolationFactor) {
|
inline void Capsule::updateTransform(float interpolationFactor) {
|
||||||
mTransformMatrix = computeTransform(interpolationFactor, mScalingMatrix);
|
mTransformMatrix = computeTransform(interpolationFactor, mScalingMatrix);
|
||||||
>>>>>>> 1bde11f245806de07a12b1cf6c33cdb83046b882:testbed/common/Capsule.h
|
|
||||||
}
|
}
|
||||||
|
|
||||||
#endif
|
#endif
|
||||||
|
|||||||
@ -99,15 +99,8 @@ class Cone : public openglframework::Mesh, public PhysicsObject {
|
|||||||
virtual void updateTransform(float interpolationFactor);
|
virtual void updateTransform(float interpolationFactor);
|
||||||
};
|
};
|
||||||
|
|
||||||
<<<<<<< HEAD:examples/common/Cone.h
|
|
||||||
// Return a pointer to the rigid body of the box
|
|
||||||
inline rp3d::RigidBody* Cone::getRigidBody() {
|
|
||||||
return static_cast<rp3d::RigidBody*>(mRigidBody);
|
|
||||||
=======
|
|
||||||
// Update the transform matrix of the object
|
|
||||||
inline void Cone::updateTransform(float interpolationFactor) {
|
inline void Cone::updateTransform(float interpolationFactor) {
|
||||||
mTransformMatrix = computeTransform(interpolationFactor, mScalingMatrix);
|
mTransformMatrix = computeTransform(interpolationFactor, mScalingMatrix);
|
||||||
>>>>>>> 1bde11f245806de07a12b1cf6c33cdb83046b882:testbed/common/Cone.h
|
|
||||||
}
|
}
|
||||||
|
|
||||||
#endif
|
#endif
|
||||||
|
|||||||
@ -96,15 +96,9 @@ class Sphere : public openglframework::Mesh, public PhysicsObject {
|
|||||||
virtual void updateTransform(float interpolationFactor);
|
virtual void updateTransform(float interpolationFactor);
|
||||||
};
|
};
|
||||||
|
|
||||||
<<<<<<< HEAD:examples/common/Sphere.h
|
|
||||||
// Return a pointer to the rigid body of the box
|
|
||||||
inline rp3d::RigidBody* Sphere::getRigidBody() {
|
|
||||||
return static_cast<rp3d::RigidBody*>(mRigidBody);
|
|
||||||
=======
|
|
||||||
// Update the transform matrix of the object
|
// Update the transform matrix of the object
|
||||||
inline void Sphere::updateTransform(float interpolationFactor) {
|
inline void Sphere::updateTransform(float interpolationFactor) {
|
||||||
mTransformMatrix = computeTransform(interpolationFactor, mScalingMatrix);
|
mTransformMatrix = computeTransform(interpolationFactor, mScalingMatrix);
|
||||||
>>>>>>> 1bde11f245806de07a12b1cf6c33cdb83046b882:testbed/common/Sphere.h
|
|
||||||
}
|
}
|
||||||
|
|
||||||
#endif
|
#endif
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user