1
0
Fork 0
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:
Anthony Dmitriyev 2016-06-29 21:59:47 +01:00
parent 9bbc5cc000
commit a0b2d9a090
5 changed files with 166 additions and 68 deletions

View file

@ -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 () {