xzw 3 năm trước cách đây
mục cha
commit
d2a96e16d1
1 tập tin đã thay đổi với 1 bổ sung1 xóa
  1. 1 1
      main.js

+ 1 - 1
main.js

@@ -208533,7 +208533,7 @@ and limitations under the License.
                 transformation_matrix: this.selectedDatasets.map((t)=>{
                     return {
                         id: t.id,
-                        matrix: this.getTransformationMatrix(t) 
+                        matrix: this.getTransformationMatrix(t).elements
                     } 
                 }) ,
                 aabb: "b-0.5 -0.5 -0.5 0.5 0.5 0.5" //剪裁空间( 所有点在乘上这个矩阵后, 还能落在 1 * 1 * 1的box内的点就是所裁剪的