Skip to content

Commit

Permalink
Work in progress
Browse files Browse the repository at this point in the history
  • Loading branch information
skhaz committed Dec 26, 2024
1 parent 2785006 commit 9859edc
Showing 1 changed file with 0 additions and 4 deletions.
4 changes: 0 additions & 4 deletions src/entity.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -121,10 +121,6 @@ void entity::set_props(entityprops props) noexcept {

void entity::set_placement(int32_t x, int32_t y) noexcept {
_props.position.set(x, y);
// const auto body = _props.body.get();
// cpBodySetVelocity(body, cpvzero);
// cpBodySetForce(body, cpvzero);
// cpBodySetPosition(body, {static_cast<cpFloat>(x), static_cast<cpFloat>(y)});
}

void entity::set_onupdate(const std::function<void(std::shared_ptr<entity>)> &fn) noexcept {
Expand Down

0 comments on commit 9859edc

Please sign in to comment.