ThreeJS: 3D Object Area Calculation (Triangulated)

前端 未结 1 466
小蘑菇
小蘑菇 2021-01-23 07:49

I need to calculate the area/surface of a whole object in threeJS. Thats what I have:

    var _len = object.geometry.faces.length,
        _area = 0.0;

    if          


        
相关标签:
1条回答
  • You are using lengthSq(), is that right? I guess you need the length of the cross vector, not the length squared.

    0 讨论(0)
提交回复
热议问题