test build
Deploy / build_and_push_images (push) Successful in 1m26s Details
Deploy / deploy_to_server_dev (push) Successful in 31s Details

This commit is contained in:
Kseninia Mikhaylova 2024-07-25 15:11:39 +03:00
parent 1701135f59
commit 682fd89dd6
1 changed files with 8 additions and 6 deletions

View File

@ -33,12 +33,14 @@ onLoop(() => {
const point = model.value.position[element.axis] const point = model.value.position[element.axis]
let step = stepbase * target.value[element.axis as vectorType] let step = stepbase * target.value[element.axis as vectorType]
console.log({ point, step }) console.log({ point, step })
// if (step !== 0) { if (step !== 0) {
// if (Math.abs(point) >= Math.abs(target.value[element.axis as vectorType])) { // if (Math.abs(point) >= Math.abs(target.value[element.axis as vectorType])) {
// step = 0 // step = 0
// } // }
// model.value[element.func](step) if (model.value.hasOwnProperty(element.func)) {
// } model.value[element.func](step)
}
}
} }
}); });
} }