Skip to content
Snippets Groups Projects
Unverified Commit 2392f040 authored by TheJackiMonster's avatar TheJackiMonster
Browse files

Fixed issue with big dt in generation

parent bad7325c
No related branches found
No related tags found
1 merge request!106Created initial firework project
...@@ -77,7 +77,7 @@ void main() { ...@@ -77,7 +77,7 @@ void main() {
for (uint i = 0; i < events.length(); i++) { for (uint i = 0; i < events.length(); i++) {
const float start = events[i].startTime; const float start = events[i].startTime;
if (events[i].continuous < 1 && (((t - dt * 2) >= start) || (t < start))) { if ((events[i].continuous < 1) && (t < start)) {
continue; continue;
} }
......
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