mirror of
https://github.com/overte-org/overte.git
synced 2025-08-09 13:49:12 +02:00
enforce coding standards
This commit is contained in:
parent
ccf14b2e50
commit
55207a8fb1
2 changed files with 2 additions and 1 deletions
|
@ -17,7 +17,7 @@ const uint16_t ObjectActionOffset::offsetVersion = 1;
|
||||||
|
|
||||||
ObjectActionOffset::ObjectActionOffset(const QUuid& id, EntityItemPointer ownerEntity) :
|
ObjectActionOffset::ObjectActionOffset(const QUuid& id, EntityItemPointer ownerEntity) :
|
||||||
ObjectAction(ACTION_TYPE_OFFSET, id, ownerEntity),
|
ObjectAction(ACTION_TYPE_OFFSET, id, ownerEntity),
|
||||||
_pointToOffsetFrom(0.f),
|
_pointToOffsetFrom(0.0f),
|
||||||
_linearDistance(0.0f),
|
_linearDistance(0.0f),
|
||||||
_linearTimeScale(FLT_MAX),
|
_linearTimeScale(FLT_MAX),
|
||||||
_positionalTargetSet(false) {
|
_positionalTargetSet(false) {
|
||||||
|
|
|
@ -92,6 +92,7 @@ glm::vec3 ObjectMotionState::getBodyLinearVelocity() const {
|
||||||
}
|
}
|
||||||
return bulletToGLM(velocity);
|
return bulletToGLM(velocity);
|
||||||
}
|
}
|
||||||
|
|
||||||
glm::vec3 ObjectMotionState::getObjectLinearVelocityChange() const {
|
glm::vec3 ObjectMotionState::getObjectLinearVelocityChange() const {
|
||||||
return glm::vec3(0.0f); // Subclasses override where meaningful.
|
return glm::vec3(0.0f); // Subclasses override where meaningful.
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue