zhouenguang 3 years ago
parent
commit
1063678962
1 changed files with 3 additions and 3 deletions
  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
             };