mirror of
https://github.com/MaSzyna-EU07/maszyna.git
synced 2026-07-19 16:59:17 +02:00
reformat: set variables to constexpr where possible
This commit is contained in:
@@ -22,7 +22,7 @@ basic_precipitation::~basic_precipitation() {
|
||||
bool
|
||||
basic_precipitation::init() {
|
||||
|
||||
auto const heightfactor { 10.f }; // height-to-radius factor
|
||||
constexpr auto heightfactor { 10.f }; // height-to-radius factor
|
||||
m_moverate *= heightfactor;
|
||||
|
||||
return true;
|
||||
|
||||
Reference in New Issue
Block a user