Skip to content

Commit

Permalink
FIX - Cast float to int
Browse files Browse the repository at this point in the history
  • Loading branch information
deadbaed committed Jun 14, 2020
1 parent a70242e commit d29404d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion GameObject/GameObject.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ GameObject::GameObject(const std::shared_ptr<IrrlichtController> &ctrl, irr::cor
{
_position = irr::core::vector3df(0, 0, 0);
_rotation = irr::core::vector3df(0, 0, 0);
_collider = std::make_shared<Collider>(_position, dimension.X, dimension.Y, dimension.Z);
_collider = std::make_shared<Collider>(_position, (int)dimension.X, (int)dimension.Y, (int)dimension.Z);
_status = IGameObject::OK;
}

Expand Down

0 comments on commit d29404d

Please sign in to comment.