Skip to content
Snippets Groups Projects
Commit efff61dd authored by Greg Fodor's avatar Greg Fodor
Browse files

Apply camera fix

parent a636f42e
No related branches found
No related tags found
No related merge requests found
......@@ -34,6 +34,7 @@ AFRAME.registerComponent("scene-preview-camera", {
tick: function() {
let t = (new Date().getTime() - this.startTime) / (1000.0 * this.data.duration);
t = Math.min(1.0, Math.max(0.0, t));
if (!this.ranOnePass) {
t = t * (2 - t);
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment