David Catuhe 8 년 전
부모
커밋
a7856af022
4개의 변경된 파일8122개의 추가작업 그리고 8162개의 파일을 삭제
  1. 4061 4070
      dist/preview release/babylon.d.ts
  2. 4061 4070
      dist/preview release/babylon.module.d.ts
  3. 0 1
      dist/preview release/what's new.md
  4. 0 21
      src/Mesh/babylon.mesh.ts

파일 크기가 너무 크기때문에 변경 상태를 표시하지 않습니다.
+ 4061 - 4070
dist/preview release/babylon.d.ts


파일 크기가 너무 크기때문에 변경 상태를 표시하지 않습니다.
+ 4061 - 4070
dist/preview release/babylon.module.d.ts


+ 0 - 1
dist/preview release/what's new.md

@@ -28,7 +28,6 @@
  - New blur mode for mirrors. [Demo](https://www.babylonjs-playground.com/#9I6NX1) ([deltakosh](https://github.com/deltakosh)) 
  - New blur mode for mirrors. [Demo](https://www.babylonjs-playground.com/#9I6NX1) ([deltakosh](https://github.com/deltakosh)) 
 
 
 ### Updates
 ### Updates
-- New `mesh.recomputeNormals` function ([deltakosh](https://github.com/deltakosh))
 - New helpers to use ExtrudePolygon. [Demo](http://www.babylonjs-playground.com/#RNCYVM#10) ([Cubees](https://github.com/Cubees))
 - New helpers to use ExtrudePolygon. [Demo](http://www.babylonjs-playground.com/#RNCYVM#10) ([Cubees](https://github.com/Cubees))
 - PostProcess can now use alpha blending and share outputs ([deltakosh](https://github.com/deltakosh))
 - PostProcess can now use alpha blending and share outputs ([deltakosh](https://github.com/deltakosh))
 - Added `ArcRotateCamera.panningInertia` to decouple inertia from panning inertia ([deltakosh](https://github.com/deltakosh))
 - Added `ArcRotateCamera.panningInertia` to decouple inertia from panning inertia ([deltakosh](https://github.com/deltakosh))

+ 0 - 21
src/Mesh/babylon.mesh.ts

@@ -805,27 +805,6 @@
         }
         }
 
 
         /**
         /**
-         * This method will force the computation of normals for the mesh.
-         * Please note that the mesh must have normals vertex data already.
-         * Returns the Mesh. 
-         */
-        public recomputeNormals(markDataAsUpdatable?: boolean): Mesh {
-            var positions = this.getVerticesData(VertexBuffer.PositionKind);
-            var indices = this.getIndices();
-            var normals: number[] | Float32Array;
-            
-            if (this.isVerticesDataPresent(VertexBuffer.NormalKind)) {
-                normals = this.getVerticesData(VertexBuffer.NormalKind);
-            } else {
-                normals = [];
-            }
-            VertexData.ComputeNormals(positions, indices, normals);
-            this.setVerticesData(VertexBuffer.NormalKind, normals, markDataAsUpdatable);
-
-            return this;
-        }
-
-        /**
          * Creates a un-shared specific occurence of the geometry for the mesh.  
          * Creates a un-shared specific occurence of the geometry for the mesh.  
          * Returns the Mesh.  
          * Returns the Mesh.  
          */
          */