zhouenguang 3 年之前
父節點
當前提交
1063678962
共有 1 個文件被更改,包括 3 次插入3 次删除
  1. 3 3
      src/XBreathPointManager.js

+ 3 - 3
src/XBreathPointManager.js

@@ -99,12 +99,12 @@ export default class XBreathPointManager {
 
             let options = {};
             width > 0 && height > 0 ? options = {
-                width,
-                height,
+                width: width,
+                height: height,
                 depth: .01,
                 faceUV
             } : options = {
-                size,
+                size: size/2,   // todo 暂改size
                 depth: .01,
                 faceUV
             };