如何在 THREE 的 npm 版本中使用 ConvexGeometry
?
似乎它已添加到r85
中:https://github.com/mrdoob/three.js/releases
但它看起来只是示例文件夹中的代码。 有没有办法将它与 npm THREE 一起使用?
感谢您的帮助!
最佳答案
像这样:
import 'three/examples/js/QuickHull';
import 'three/examples/js/geometries/ConvexGeometry';
import 'three/examples/js/controls/OrbitControls';
关于javascript - 在 THREE 的 npm 版本中使用 ConvexGeometry,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/46362627/