未验证 提交 8eefdf8e 编写于 作者: G Garrett Johnson 提交者: GitHub

Change JSM RoundedBoxBufferGeometry constructor to fix corner normals

上级 8e3b6b83
......@@ -7,7 +7,7 @@ class RoundedBoxBufferGeometry extends BoxBufferGeometry {
constructor( width = 1, height = 1, depth = 1, segments = 1, radius = 1 ) {
super( width, height, depth, segments, segments, segments );
super( 1, 1, 1, segments, segments, segments );
const geometry2 = this.toNonIndexed();
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册