bevy
bevy copied to clipboard
bevy_math: faster sphere sampling
Uses fewer transcendental functions than the existing approach
Oh, it occurred to me that we should also probably just use this in Sphere's implementation for sample_interior. If you don't get around to it in this PR, that's fine though. :)
Oh, it occurred to me that we should also probably just use this in
Sphere's implementation forsample_interior. If you don't get around to it in this PR, that's fine though. :)
done