Minor format changes

This commit is contained in:
Daniel Santos-Olivan 2020-09-22 09:47:49 +02:00 committed by bernat
parent 4447661d66
commit 2edd5427cb
3 changed files with 4 additions and 0 deletions

View File

@ -69,8 +69,10 @@ namespace client {
/// Set the angular velocity of the actor before applying physics.
void SetTargetAngularVelocity(const geom::Vector3D &vector);
/// Enable a constant velocity mode
void EnableConstantVelocity(const geom::Vector3D &vector);
/// Disable the constant velocity mode
void DisableConstantVelocity();

View File

@ -271,6 +271,7 @@ namespace detail {
void Client::SetActorTargetAngularVelocity(rpc::ActorId actor, const geom::Vector3D &vector) {
_pimpl->AsyncCall("set_actor_target_angular_velocity", actor, vector);
}
void Client::EnableActorConstantVelocity(rpc::ActorId actor, const geom::Vector3D &vector) {
_pimpl->AsyncCall("enable_actor_constant_velocity", actor, vector);
}

View File

@ -153,6 +153,7 @@ namespace detail {
void SetActorTargetAngularVelocity(
rpc::ActorId actor,
const geom::Vector3D &vector);
void EnableActorConstantVelocity(
rpc::ActorId actor,
const geom::Vector3D &vector);