tmpvar / threejs-experiments

3 stars 0 forks source link

drawing plane does not center on isect'd quad #2

Closed tmpvar closed 10 years ago

tmpvar commented 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

tmpvar commented 10 years ago

plane is centered on face as of fb41b3362323ae7c0fe082a6049e3d9ac9147d29