![]() # Objective When I wrote #12747 I neglected to translate random samples from triangles back to the point where they originated, so they would be sampled near the origin instead of at the actual triangle location. ## Solution Translate by the first vertex location so that the samples follow the actual triangle. |
||
---|---|---|
.. | ||
bounding | ||
primitives | ||
rects | ||
affine3.rs | ||
aspect_ratio.rs | ||
common_traits.rs | ||
cubic_splines.rs | ||
direction.rs | ||
float_ord.rs | ||
lib.rs | ||
ray.rs | ||
rotation2d.rs | ||
shape_sampling.rs |