🔧 Fix test time
This commit is contained in:
+1
-1
@@ -494,7 +494,7 @@ class Extension {
|
|||||||
// Set other uniforms each frame.
|
// Set other uniforms each frame.
|
||||||
transition.connect('new-frame', (t) => {
|
transition.connect('new-frame', (t) => {
|
||||||
if (testMode) {
|
if (testMode) {
|
||||||
shader.updateAnimation(0.5, duration / 2);
|
shader.updateAnimation(0.5, 0.001 * duration * 0.5);
|
||||||
} else {
|
} else {
|
||||||
shader.updateAnimation(t.get_progress(), 0.001 * t.get_elapsed_time());
|
shader.updateAnimation(t.get_progress(), 0.001 * t.get_elapsed_time());
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user