Skip to content
This repository has been archived by the owner on Nov 13, 2022. It is now read-only.

Commit

Permalink
Floor and Ceil return ints
Browse files Browse the repository at this point in the history
  • Loading branch information
Torbuntu committed Jun 8, 2019
1 parent 6512750 commit d5e7ff4
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions core/src/main/java/leikr/Engine.java
Original file line number Diff line number Diff line change
Expand Up @@ -413,11 +413,11 @@ public float sinDeg(float deg) {
return MathUtils.sinDeg(deg);
}

public float ceil(float value) {
public int ceil(float value) {
return MathUtils.ceil(value);
}

public float floor(float value) {
public int floor(float value) {
return MathUtils.floor(value);
}

Expand Down

0 comments on commit d5e7ff4

Please sign in to comment.