From 5041e92871d739b0bc04191d8e84683345595bac Mon Sep 17 00:00:00 2001 From: dqn Date: Thu, 6 Jun 2024 02:29:30 +0800 Subject: [PATCH] aaaa --- convert.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/convert.go b/convert.go index c37d2b1..58d0f17 100644 --- a/convert.go +++ b/convert.go @@ -103,7 +103,7 @@ func Convert(stl STL, outFile string) { ByteOffset: 0, ComponentType: 5126, Type: "VEC3", - Count: int(stl.TriangleNum), + Count: stl.TriangleNum * 3, Max: []float32{1, 1, 1}, Min: []float32{-1, -1, -1}, },