feat: do checks with correct units
This commit is contained in:
parent
fb83a94d4b
commit
6b964c81a8
@ -163,7 +163,11 @@
|
||||
}
|
||||
|
||||
function update() {
|
||||
var failed_checks = cageCheck(savicSuiteRoyaleDim, ratSlider.value, fullFloorNum.value);
|
||||
const width = inputWidth.value / 100
|
||||
const depth = inputDepth.value / 100
|
||||
const height = inputHeight.value / 100
|
||||
const dimensions = new Dimensions(width, depth, height)
|
||||
var failed_checks = cageCheck(dimensions, ratSlider.value, fullFloorNum.value);
|
||||
var resultsDiv = document.getElementById("resultsDiv");
|
||||
resultsDiv.innerHTML = `<strong>Ergebnis</strong>`;
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user