未验证 提交 0bd45c97 编写于 作者: M Mr.doob 提交者: GitHub

Merge pull request #20606 from gkjohnson/patch-2

RoundedBoxBufferGeometry: Change constructor to fix corner normals
...@@ -7,7 +7,7 @@ class RoundedBoxBufferGeometry extends BoxBufferGeometry { ...@@ -7,7 +7,7 @@ class RoundedBoxBufferGeometry extends BoxBufferGeometry {
constructor( width = 1, height = 1, depth = 1, segments = 1, radius = 1 ) { 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(); const geometry2 = this.toNonIndexed();
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册