Set the value as a double
This commit is contained in:
parent
60774761f5
commit
8f396d0545
1 changed files with 2 additions and 2 deletions
|
@ -7,8 +7,8 @@
|
|||
namespace pacman {
|
||||
|
||||
struct Position {
|
||||
double x = 0;
|
||||
double y = 0;
|
||||
double x = 0.0;
|
||||
double y = 0.0;
|
||||
};
|
||||
|
||||
struct GridPosition {
|
||||
|
|
Loading…
Reference in a new issue