Added a bool return to the eval function to give feedback on invalid
samples.
Added a bool return to the eval function to give feedback on invalid
samples.
Normalize the normal vector after sample eval to account for
interpolation.
Merge branch 'mesh_samples' into mesh_samples_dirty_test
Changed mesh sample definition to use 3 vertex weights instead of a
face index. This is easier to sample uniformly and avoids the need for
tesselation for evaluating.
Merge branch 'mesh_samples' into mesh_samples_dirty_test
Tesselation no longer needed for evaluating.