mirror of
https://github.com/MihailRis/voxelcore.git
synced 2026-10-10 21:41:50 +00:00
cleanup
This commit is contained in:
parent
bf5a5b243f
commit
a1860ff668
4 changed files with 24 additions and 6 deletions
|
|
@ -41,6 +41,10 @@ struct Weather : Serializable {
|
|||
return b.fogCurve * t + a.fogCurve * (1.0f - t);
|
||||
}
|
||||
|
||||
float thunderRate() const {
|
||||
return b.thunderRate * t + a.thunderRate * (1.0f - t);
|
||||
}
|
||||
|
||||
dv::value serialize() const override {
|
||||
return dv::object({
|
||||
{"a", a.serialize()},
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue