xeolabs / xeogl

A WebGL-based 3D engine for technical visualization. Not actively maintained.
http://xeogl.org
Other
1.15k stars 264 forks source link

Update cameraPathAnimation.js #331

Open mhoelzner opened 4 years ago

mhoelzner commented 4 years ago

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