Closed tmpvar closed 10 years ago
It's using a random point from a triangle right now and that will not work in the long term.
a helpful utility function would be to find all of the coplanar points (for the picked tri) and use the centroid as the plane center.
This would also be beneficial in dynamically sizing the plane
plane is centered on face as of fb41b3362323ae7c0fe082a6049e3d9ac9147d29
It's using a random point from a triangle right now and that will not work in the long term.
a helpful utility function would be to find all of the coplanar points (for the picked tri) and use the centroid as the plane center.
This would also be beneficial in dynamically sizing the plane