remove inaccurate comments, defunct code
This commit is contained in:
parent
b4e9a8a87a
commit
e9d867de1c
3 changed files with 2 additions and 11 deletions
|
|
@ -73,7 +73,6 @@ mesh.object = class MeshObject {
|
|||
return this;
|
||||
}
|
||||
|
||||
// use with caution. frames of reference interfere.
|
||||
rotation() {
|
||||
let rot = this.object().rotation;
|
||||
if (arguments.length === 0) {
|
||||
|
|
@ -85,8 +84,7 @@ mesh.object = class MeshObject {
|
|||
return this;
|
||||
}
|
||||
|
||||
// use with caution. frames of reference interfere.
|
||||
qrotate(quaternion) {
|
||||
qrotation(quaternion) {
|
||||
this.object().setRotationFromQuaternion(quaternion);
|
||||
this.updateBoundsBox();
|
||||
moto.Space.update();
|
||||
|
|
|
|||
Loading…
Reference in a new issue