فهرست منبع

texture correction

Guide 5 سال پیش
والد
کامیت
619b2a6751
2فایلهای تغییر یافته به همراه4 افزوده شده و 2 حذف شده
  1. 3 0
      Tools/Gulp/package.json
  2. 1 2
      src/Particles/pointsCloudSystem.ts

+ 3 - 0
Tools/Gulp/package.json

@@ -12,5 +12,8 @@
         "install": "cd ../../ && npm install && cd Playground/ && npm install && cd ../Viewer && npm install && cd ../Tools/Gulp/",
         "build": "gulp --max-old-space-size=8192 --tsLintFix",
         "start": "gulp run --max-old-space-size=8192"
+    },
+    "dependencies": {
+        "gulp": "^4.0.2"
     }
 }

+ 1 - 2
src/Particles/pointsCloudSystem.ts

@@ -12,7 +12,6 @@ import { BoundingInfo } from "../Culling/boundingInfo";
 import { Ray } from "../Culling/ray";
 import { PickingInfo } from "../Collisions/pickingInfo";
 import { StandardMaterial } from "../Materials/standardMaterial";
-import { Texture } from "./../Materials/Textures/texture";
 import { BaseTexture } from "./../Materials/Textures/baseTexture";
 import { Scalar } from "../Maths/math.scalar";
 
@@ -611,7 +610,7 @@ export class PointsCloudSystem implements IDisposable {
         if (isNaN(colored) ||  colored < 0 || colored > 3) {
             colored = PointColor.Random ;
         }
-        
+
         var meshPos = <FloatArray>mesh.getVerticesData(VertexBuffer.PositionKind);
         var meshInd = <IndicesArray>mesh.getIndices();