(id, pose)
| 120 | // public methods |
| 121 | |
| 122 | updateKeyframe(id, pose) { |
| 123 | let index = this.keyframeIndices[id]; |
| 124 | |
| 125 | if (index < 0 || index === undefined) { |
| 126 | this.addKeyframe(id, pose); |
| 127 | } |
| 128 | else { |
| 129 | this.changeKeyframePos(index, pose); |
| 130 | } |
| 131 | } |
| 132 | |
| 133 | updateCurrentFrame(pose) { |
| 134 | let lineGeometry = this.makeWireframe(pose, this.currentFrameWireSize); |
no test coverage detected