gpt4 book ai didi

javascript - 三、几何不是构造函数

转载 作者:行者123 更新时间:2023-12-04 16:24:36 25 4
gpt4 key购买 nike

由于我一直在开发three.js 开放世界游戏,因此我需要应用下雨效果。我遵循了一些 github 存储库的教程和源代码。不知道我错过了什么?
目前我正在使用 cdn 对于三个.js
Three.min.js
Three.module.js
和所有其他口味,但似乎缺少一些东西。

最佳答案

我发现 Three.js r125 移除了对 Geometry 的支持。
从现在开始,我们必须使用自定义 BufferGeometry。
https://threejsfundamentals.org/threejs/lessons/threejs-custom-buffergeometry.html
小费:
如果还有人想用几何 然后使用 r122 在使用 CDN 时的版本声明中。

关于javascript - 三、几何不是构造函数,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/68000359/

25 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com