Skip to content

Commit

Permalink
minor
Browse files Browse the repository at this point in the history
  • Loading branch information
eugenevinitsky committed Jan 28, 2024
1 parent 4816292 commit f91b586
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion nocturne/cpp/src/object.cc
Original file line number Diff line number Diff line change
Expand Up @@ -141,7 +141,7 @@ void Object::KinematicBicycleStep(float dt) {
// TODO(ev) put back clip speed
// Okay, so we know that the heading after the update matches perfectly! So it has to be a coordinate frome thing

velocity_ = ClipSpeed(::Vector2D(new_vel * cos(heading_), new_vel * sin(heading_)));
velocity_ = ClipSpeed(geometry::Vector2D(new_vel * cos(heading_), new_vel * sin(heading_)));
}

} // namespace nocturne

0 comments on commit f91b586

Please sign in to comment.