xeogl
xeogl copied to clipboard
Update cameraPathAnimation.js
this._t will be in a range of 0.0 to 1.0
this.cameraPath.frames[numFrames - 1].t provides a giving frame index as of the example, so when this.cameraPath.frames contains of 7 frames the CameraPathAnimation.PLAYING status will last until this._t adds up to at least 6, which in return will prevent for example cameraControl to function properly