This commit is contained in:
2025-12-19 12:03:13 +08:00
parent 8025e1c261
commit b399d0e41b

View File

@ -271,8 +271,10 @@ class Submerge extends Tools {
that.options.waterVolume = Math.floor(value * 10000) / 10000;
if (that.area) {
that.waterLevel = Number((that.options.waterVolume / that.area).toFixed(4))
that.options.maxWaterLevel = that.options.minWaterLevel + that.waterLevel
console.log(that.options.minWaterLevel, that.options.minWaterLevel, 'klklklkl')
that.options.maxWaterLevel = Math.floor((that.options.minWaterLevel) * 10000) / 10000 + Math.floor((that.options.minWaterLevel) * 10000) / 10000
}
}
});