mirror of
https://github.com/betaflight/betaflight-configurator.git
synced 2025-07-19 14:25:14 +03:00
Rates preview for PID Tuning tab
This commit is contained in:
parent
9bbc5cc000
commit
a0b2d9a090
5 changed files with 166 additions and 68 deletions
12
js/model.js
12
js/model.js
|
@ -115,7 +115,17 @@ Model.prototype.rotateTo = function (x, y, z) {
|
|||
this.modelWrapper.rotation.y = y;
|
||||
this.model.rotation.z = z;
|
||||
|
||||
this.render();
|
||||
this.render();
|
||||
};
|
||||
|
||||
Model.prototype.rotateBy = function (x, y, z) {
|
||||
if (!this.model) { return; }
|
||||
|
||||
this.model.rotateX(x);
|
||||
this.model.rotateY(y);
|
||||
this.model.rotateZ(z);
|
||||
|
||||
this.render();
|
||||
};
|
||||
|
||||
Model.prototype.render = function () {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue