mirror of
https://github.com/lubosz/overte.git
synced 2025-04-08 07:22:43 +02:00
remove some TODO comments
This commit is contained in:
parent
336378679f
commit
4946ec18b6
3 changed files with 1 additions and 4 deletions
|
@ -1015,7 +1015,6 @@ void EntityItem::recalculateCollisionShape() {
|
|||
entityAACube.scale(TREE_SCALE); // scale to meters
|
||||
_collisionShape.setTranslation(entityAACube.calcCenter());
|
||||
_collisionShape.setScale(entityAACube.getScale());
|
||||
// TODO: use motionState to update physics object
|
||||
}
|
||||
|
||||
const float MIN_POSITION_DELTA = 0.0001f;
|
||||
|
|
|
@ -154,8 +154,6 @@ bool ObjectMotionState::shouldSendUpdate(uint32_t simulationFrame, float subStep
|
|||
// NOTE: math in done the simulation-frame, which is NOT necessarily the same as the world-frame
|
||||
// due to _worldOffset.
|
||||
|
||||
// TODO: Andrew to reconcile Bullet and legacy damping coefficients.
|
||||
|
||||
// compute position error
|
||||
if (glm::length2(_sentVelocity) > 0.0f) {
|
||||
_sentVelocity += _sentAcceleration * dt;
|
||||
|
|
|
@ -111,7 +111,7 @@ protected:
|
|||
glm::vec3 _sentPosition; // in simulation-frame (not world-frame)
|
||||
glm::quat _sentRotation;;
|
||||
glm::vec3 _sentVelocity;
|
||||
glm::vec3 _sentAngularVelocity;
|
||||
glm::vec3 _sentAngularVelocity; // radians per second
|
||||
glm::vec3 _sentAcceleration;
|
||||
};
|
||||
|
||||
|
|
Loading…
Reference in a new issue