spherical-volume-rendering / svr-algorithm

A spherical volume rendering algorithm that performs ray casting through a spherical voxel grid.
Other
6 stars 7 forks source link

Cleanup, boolean logic simplification. #162

Closed cgyurgyik closed 4 years ago

cgyurgyik commented 4 years ago

Clean up RadialHit() to use early exit in the case of a tangential hit. Clean up some boolean logic in AngularHit(). Rename variables in the main traversal for clarity.