Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Attempting to fix basic file IO in Flame 3D Particle Editor (libgdx#7063
) * Mark PauseableThread as excluded on GWT. * Minor typo corrections. * Fix atan2() when it should produce 0f. Without this small change (which has essentially no performance impact that I could measure), calling atan2() with a point on the x-axis would produce a small but non-zero result, which is incorrect. * Add atan, atan2, asin, acos for degrees. This also includes atan2Deg360(), which in my opinion is the most useful of these because it does something differently from Math.atan2(), and can often save some effort. * Approximations for tan() and tanDeg(). Sorry this is so long-winded, but the error isn't as straightforward to express as with sin() or cos(). * Apply formatter * Add to MathUtilsTest. * Apply formatter * Stop trying to load defaults from wrong dir. This old behavior broke Flame's effect-open dialog when any particle effect used the default billlboard or model particle. Now Flame tries to load a file given its absolute path (like before), but if it fails, it falls back to trying the default filenames as internal files. Co-authored-by: GitHub Action <[email protected]>
- Loading branch information