David Catuhe пре 6 година
родитељ
комит
56d6547346

+ 1 - 0
Playground/babylon.d.txt

@@ -20575,6 +20575,7 @@ declare module BABYLON {
         flipFaces(flipNormals?: boolean): Mesh;
         /**
          * Increase the number of facets and hence vertices in a mesh
+         * Vertex normals are interpolated from existing vertex normals
          * Warning : the mesh is really modified even if not set originally as updatable. A new VertexBuffer is created under the hood each call.
          * @param numberPerEdge the number of new vertices to add to each edge of a facet, optional default 1
          */

+ 1 - 0
dist/preview release/babylon.d.ts

@@ -20884,6 +20884,7 @@ declare module BABYLON {
         flipFaces(flipNormals?: boolean): Mesh;
         /**
          * Increase the number of facets and hence vertices in a mesh
+         * Vertex normals are interpolated from existing vertex normals
          * Warning : the mesh is really modified even if not set originally as updatable. A new VertexBuffer is created under the hood each call.
          * @param numberPerEdge the number of new vertices to add to each edge of a facet, optional default 1
          */

Разлика између датотеке није приказан због своје велике величине
+ 1 - 1
dist/preview release/babylon.js


Разлика између датотеке није приказан због своје велике величине
+ 22 - 37
dist/preview release/babylon.max.js


Разлика између датотеке није приказан због своје велике величине
+ 1 - 1
dist/preview release/babylon.max.js.map


+ 2 - 0
dist/preview release/babylon.module.d.ts

@@ -21422,6 +21422,7 @@ declare module "babylonjs/Meshes/mesh" {
         flipFaces(flipNormals?: boolean): Mesh;
         /**
          * Increase the number of facets and hence vertices in a mesh
+         * Vertex normals are interpolated from existing vertex normals
          * Warning : the mesh is really modified even if not set originally as updatable. A new VertexBuffer is created under the hood each call.
          * @param numberPerEdge the number of new vertices to add to each edge of a facet, optional default 1
          */
@@ -79415,6 +79416,7 @@ declare module BABYLON {
         flipFaces(flipNormals?: boolean): Mesh;
         /**
          * Increase the number of facets and hence vertices in a mesh
+         * Vertex normals are interpolated from existing vertex normals
          * Warning : the mesh is really modified even if not set originally as updatable. A new VertexBuffer is created under the hood each call.
          * @param numberPerEdge the number of new vertices to add to each edge of a facet, optional default 1
          */

+ 1 - 1
dist/preview release/packagesSizeBaseLine.json

@@ -1 +1 @@
-{"engineOnly":307274,"sceneOnly":510028,"minGridMaterial":633514,"minStandardMaterial":756625}
+{"engineOnly":307274,"sceneOnly":510028,"minGridMaterial":633312,"minStandardMaterial":756423}

+ 2 - 0
dist/preview release/viewer/babylon.module.d.ts

@@ -21422,6 +21422,7 @@ declare module "babylonjs/Meshes/mesh" {
         flipFaces(flipNormals?: boolean): Mesh;
         /**
          * Increase the number of facets and hence vertices in a mesh
+         * Vertex normals are interpolated from existing vertex normals
          * Warning : the mesh is really modified even if not set originally as updatable. A new VertexBuffer is created under the hood each call.
          * @param numberPerEdge the number of new vertices to add to each edge of a facet, optional default 1
          */
@@ -79415,6 +79416,7 @@ declare module BABYLON {
         flipFaces(flipNormals?: boolean): Mesh;
         /**
          * Increase the number of facets and hence vertices in a mesh
+         * Vertex normals are interpolated from existing vertex normals
          * Warning : the mesh is really modified even if not set originally as updatable. A new VertexBuffer is created under the hood each call.
          * @param numberPerEdge the number of new vertices to add to each edge of a facet, optional default 1
          */

+ 0 - 45
dist/preview release/viewer/babylon.viewer.d.ts

@@ -463,51 +463,6 @@ declare module BabylonViewer {
 }
 declare module BabylonViewer {
     /**
-        * The data structure of a telemetry event.
-        */
-    export interface TelemetryData {
-            event: string;
-            session: string;
-            date: Date;
-            now: number;
-            viewerId?: string;
-            detail: any;
-    }
-    /**
-        * Receives Telemetry events and raises events to the API
-        */
-    export class TelemetryManager {
-            onEventBroadcastedObservable: BABYLON.Observable<TelemetryData>;
-            /**
-                * Receives a telemetry event
-                * @param event The name of the Telemetry event
-                * @param details An additional value, or an object containing a list of property/value pairs
-                */
-            readonly broadcast: (event: string, viewerId?: string | undefined, details?: any) => void;
-            /**
-                * Log a Telemetry event for errors raised on the WebGL context.
-                * @param engine The Babylon engine with the WebGL context.
-                */
-            flushWebGLErrors(engine: BABYLON.Engine, viewerId?: string): void;
-            /**
-                * Enable or disable telemetry events
-                * @param enabled Boolan, true if events are enabled
-                */
-            enable: boolean;
-            /**
-                * Returns the current session ID or creates one if it doesn't exixt
-                * @return The current session ID
-                */
-            readonly session: string;
-            /**
-                * Disposes the telemetry manager
-                */
-            dispose(): void;
-    }
-    export const telemetryManager: TelemetryManager;
-}
-declare module BabylonViewer {
-    /**
         * An instance of the class is in charge of loading the model correctly.
         * This class will continously be expended with tasks required from the specific loaders Babylon has.
         *

Разлика између датотеке није приказан због своје велике величине
+ 8 - 8
dist/preview release/viewer/babylon.viewer.js


Разлика између датотеке није приказан због своје велике величине
+ 1 - 1
dist/preview release/viewer/babylon.viewer.max.js


+ 1 - 45
dist/preview release/viewer/babylon.viewer.module.d.ts

@@ -508,51 +508,7 @@ declare module 'babylonjs-viewer/viewer/viewer' {
 }
 
 declare module 'babylonjs-viewer/managers/telemetryManager' {
-    import { Observable } from "babylonjs/Misc/observable";
-    import { Engine } from "babylonjs/Engines/engine";
-    /**
-        * The data structure of a telemetry event.
-        */
-    export interface TelemetryData {
-            event: string;
-            session: string;
-            date: Date;
-            now: number;
-            viewerId?: string;
-            detail: any;
-    }
-    /**
-        * Receives Telemetry events and raises events to the API
-        */
-    export class TelemetryManager {
-            onEventBroadcastedObservable: Observable<TelemetryData>;
-            /**
-                * Receives a telemetry event
-                * @param event The name of the Telemetry event
-                * @param details An additional value, or an object containing a list of property/value pairs
-                */
-            readonly broadcast: (event: string, viewerId?: string | undefined, details?: any) => void;
-            /**
-                * Log a Telemetry event for errors raised on the WebGL context.
-                * @param engine The Babylon engine with the WebGL context.
-                */
-            flushWebGLErrors(engine: Engine, viewerId?: string): void;
-            /**
-                * Enable or disable telemetry events
-                * @param enabled Boolan, true if events are enabled
-                */
-            enable: boolean;
-            /**
-                * Returns the current session ID or creates one if it doesn't exixt
-                * @return The current session ID
-                */
-            readonly session: string;
-            /**
-                * Disposes the telemetry manager
-                */
-            dispose(): void;
-    }
-    export const telemetryManager: TelemetryManager;
+    
 }
 
 declare module 'babylonjs-viewer/loader/modelLoader' {