Closed richelbilderbeek closed 5 years ago
Is your feature request related to a problem? Please describe.
I see that tile::get_corner takes up 15% of all run-time. Taking a closer look at the function, it appears it can be made constexpr.
constexpr
Describe the solution you'd like
Describe alternatives you've considered
None.
Additional context
It cannot be done I think because it is variable, it changes when the tile gets rotated
Is your feature request related to a problem? Please describe.
I see that tile::get_corner takes up 15% of all run-time. Taking a closer look at the function, it appears it can be made
constexpr
.Describe the solution you'd like
constexpr
isconstexpr
, else close the Issue with 'It can be done'.Describe alternatives you've considered
None.
Additional context
None.