We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
i can't understand the line 169,170. the "lifetime" variable is always minus, there is no use deciding "lifetime <=0.0" the code:
float lifetime = a_curtime - u_time; if( lifetime <= 0.0 && randomValue(seed) < u_emissionRate ) { }
i think it may be the following code, to decide whether the particle has expired. float lifetime = a_lifetime - (u_time - a_curtime);
float lifetime = a_lifetime - (u_time - a_curtime);
The text was updated successfully, but these errors were encountered:
No branches or pull requests
i can't understand the line 169,170.
the "lifetime" variable is always minus, there is no use deciding "lifetime <=0.0"
the code:
i think it may be the following code, to decide whether the particle has
expired.
float lifetime = a_lifetime - (u_time - a_curtime);
The text was updated successfully, but these errors were encountered: