David Catuhe пре 7 година
родитељ
комит
7e18b6f315

Разлика између датотеке није приказан због своје велике величине
+ 1909 - 1901
Playground/babylon.d.txt


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


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


+ 8 - 4
dist/preview release/babylon.max.js

@@ -23749,14 +23749,14 @@ var BABYLON;
         SceneComponentConstants.STEP_BEFORERENDERINGMESH_OUTLINE = 0;
         SceneComponentConstants.STEP_AFTERRENDERINGMESH_OUTLINE = 0;
         SceneComponentConstants.STEP_AFTERRENDERINGGROUPDRAW_EFFECTLAYER_DRAW = 0;
+        SceneComponentConstants.STEP_AFTERRENDERINGGROUPDRAW_BOUNDINGBOXRENDERER = 1;
         SceneComponentConstants.STEP_BEFORECAMERAUPDATE_SIMPLIFICATIONQUEUE = 0;
         SceneComponentConstants.STEP_BEFORECAMERAUPDATE_GAMEPAD = 1;
         SceneComponentConstants.STEP_BEFORECLEAR_PROCEDURALTEXTURE = 0;
         SceneComponentConstants.STEP_AFTERCAMERADRAW_EFFECTLAYER = 0;
         SceneComponentConstants.STEP_AFTERCAMERADRAW_LENSFLARESYSTEM = 1;
-        SceneComponentConstants.STEP_AFTERCAMERADRAW_BOUNDINGBOXRENDERER = 2;
-        SceneComponentConstants.STEP_AFTERCAMERADRAW_EFFECTLAYER_DRAW = 3;
-        SceneComponentConstants.STEP_AFTERCAMERADRAW_LAYER = 4;
+        SceneComponentConstants.STEP_AFTERCAMERADRAW_EFFECTLAYER_DRAW = 2;
+        SceneComponentConstants.STEP_AFTERCAMERADRAW_LAYER = 3;
         SceneComponentConstants.STEP_GATHERRENDERTARGETS_SHADOWGENERATOR = 0;
         SceneComponentConstants.STEP_GATHERRENDERTARGETS_GEOMETRYBUFFERRENDERER = 1;
         SceneComponentConstants.STEP_GATHERRENDERTARGETS_DEPTHRENDERER = 2;
@@ -61879,7 +61879,7 @@ var BABYLON;
             this.scene._beforeEvaluateActiveMeshStage.registerStep(BABYLON.SceneComponentConstants.STEP_BEFOREEVALUATEACTIVEMESH_BOUNDINGBOXRENDERER, this, this.reset);
             this.scene._activeMeshStage.registerStep(BABYLON.SceneComponentConstants.STEP_ACTIVEMESH_BOUNDINGBOXRENDERER, this, this._activeMesh);
             this.scene._evaluateSubMeshStage.registerStep(BABYLON.SceneComponentConstants.STEP_EVALUATESUBMESH_BOUNDINGBOXRENDERER, this, this._evaluateSubMesh);
-            this.scene._afterRenderingGroupDrawStage.registerStep(BABYLON.SceneComponentConstants.STEP_AFTERCAMERADRAW_BOUNDINGBOXRENDERER, this, this.render);
+            this.scene._afterRenderingGroupDrawStage.registerStep(BABYLON.SceneComponentConstants.STEP_AFTERRENDERINGGROUPDRAW_BOUNDINGBOXRENDERER, this, this.render);
         };
         BoundingBoxRenderer.prototype._evaluateSubMesh = function (mesh, subMesh) {
             if (mesh.showSubMeshesBoundingBox) {
@@ -61928,6 +61928,10 @@ var BABYLON;
         BoundingBoxRenderer.prototype.reset = function () {
             this.renderList.reset();
         };
+        /**
+         * Render the bounding boxes of a specific rendering group
+         * @param renderingGroupId defines the rendering group to render
+         */
         BoundingBoxRenderer.prototype.render = function (renderingGroupId) {
             if (this.renderList.length === 0) {
                 return;

+ 8 - 4
dist/preview release/babylon.no-module.max.js

@@ -23716,14 +23716,14 @@ var BABYLON;
         SceneComponentConstants.STEP_BEFORERENDERINGMESH_OUTLINE = 0;
         SceneComponentConstants.STEP_AFTERRENDERINGMESH_OUTLINE = 0;
         SceneComponentConstants.STEP_AFTERRENDERINGGROUPDRAW_EFFECTLAYER_DRAW = 0;
+        SceneComponentConstants.STEP_AFTERRENDERINGGROUPDRAW_BOUNDINGBOXRENDERER = 1;
         SceneComponentConstants.STEP_BEFORECAMERAUPDATE_SIMPLIFICATIONQUEUE = 0;
         SceneComponentConstants.STEP_BEFORECAMERAUPDATE_GAMEPAD = 1;
         SceneComponentConstants.STEP_BEFORECLEAR_PROCEDURALTEXTURE = 0;
         SceneComponentConstants.STEP_AFTERCAMERADRAW_EFFECTLAYER = 0;
         SceneComponentConstants.STEP_AFTERCAMERADRAW_LENSFLARESYSTEM = 1;
-        SceneComponentConstants.STEP_AFTERCAMERADRAW_BOUNDINGBOXRENDERER = 2;
-        SceneComponentConstants.STEP_AFTERCAMERADRAW_EFFECTLAYER_DRAW = 3;
-        SceneComponentConstants.STEP_AFTERCAMERADRAW_LAYER = 4;
+        SceneComponentConstants.STEP_AFTERCAMERADRAW_EFFECTLAYER_DRAW = 2;
+        SceneComponentConstants.STEP_AFTERCAMERADRAW_LAYER = 3;
         SceneComponentConstants.STEP_GATHERRENDERTARGETS_SHADOWGENERATOR = 0;
         SceneComponentConstants.STEP_GATHERRENDERTARGETS_GEOMETRYBUFFERRENDERER = 1;
         SceneComponentConstants.STEP_GATHERRENDERTARGETS_DEPTHRENDERER = 2;
@@ -61846,7 +61846,7 @@ var BABYLON;
             this.scene._beforeEvaluateActiveMeshStage.registerStep(BABYLON.SceneComponentConstants.STEP_BEFOREEVALUATEACTIVEMESH_BOUNDINGBOXRENDERER, this, this.reset);
             this.scene._activeMeshStage.registerStep(BABYLON.SceneComponentConstants.STEP_ACTIVEMESH_BOUNDINGBOXRENDERER, this, this._activeMesh);
             this.scene._evaluateSubMeshStage.registerStep(BABYLON.SceneComponentConstants.STEP_EVALUATESUBMESH_BOUNDINGBOXRENDERER, this, this._evaluateSubMesh);
-            this.scene._afterRenderingGroupDrawStage.registerStep(BABYLON.SceneComponentConstants.STEP_AFTERCAMERADRAW_BOUNDINGBOXRENDERER, this, this.render);
+            this.scene._afterRenderingGroupDrawStage.registerStep(BABYLON.SceneComponentConstants.STEP_AFTERRENDERINGGROUPDRAW_BOUNDINGBOXRENDERER, this, this.render);
         };
         BoundingBoxRenderer.prototype._evaluateSubMesh = function (mesh, subMesh) {
             if (mesh.showSubMeshesBoundingBox) {
@@ -61895,6 +61895,10 @@ var BABYLON;
         BoundingBoxRenderer.prototype.reset = function () {
             this.renderList.reset();
         };
+        /**
+         * Render the bounding boxes of a specific rendering group
+         * @param renderingGroupId defines the rendering group to render
+         */
         BoundingBoxRenderer.prototype.render = function (renderingGroupId) {
             if (this.renderList.length === 0) {
                 return;

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


+ 8 - 4
dist/preview release/es6.js

@@ -23716,14 +23716,14 @@ var BABYLON;
         SceneComponentConstants.STEP_BEFORERENDERINGMESH_OUTLINE = 0;
         SceneComponentConstants.STEP_AFTERRENDERINGMESH_OUTLINE = 0;
         SceneComponentConstants.STEP_AFTERRENDERINGGROUPDRAW_EFFECTLAYER_DRAW = 0;
+        SceneComponentConstants.STEP_AFTERRENDERINGGROUPDRAW_BOUNDINGBOXRENDERER = 1;
         SceneComponentConstants.STEP_BEFORECAMERAUPDATE_SIMPLIFICATIONQUEUE = 0;
         SceneComponentConstants.STEP_BEFORECAMERAUPDATE_GAMEPAD = 1;
         SceneComponentConstants.STEP_BEFORECLEAR_PROCEDURALTEXTURE = 0;
         SceneComponentConstants.STEP_AFTERCAMERADRAW_EFFECTLAYER = 0;
         SceneComponentConstants.STEP_AFTERCAMERADRAW_LENSFLARESYSTEM = 1;
-        SceneComponentConstants.STEP_AFTERCAMERADRAW_BOUNDINGBOXRENDERER = 2;
-        SceneComponentConstants.STEP_AFTERCAMERADRAW_EFFECTLAYER_DRAW = 3;
-        SceneComponentConstants.STEP_AFTERCAMERADRAW_LAYER = 4;
+        SceneComponentConstants.STEP_AFTERCAMERADRAW_EFFECTLAYER_DRAW = 2;
+        SceneComponentConstants.STEP_AFTERCAMERADRAW_LAYER = 3;
         SceneComponentConstants.STEP_GATHERRENDERTARGETS_SHADOWGENERATOR = 0;
         SceneComponentConstants.STEP_GATHERRENDERTARGETS_GEOMETRYBUFFERRENDERER = 1;
         SceneComponentConstants.STEP_GATHERRENDERTARGETS_DEPTHRENDERER = 2;
@@ -61846,7 +61846,7 @@ var BABYLON;
             this.scene._beforeEvaluateActiveMeshStage.registerStep(BABYLON.SceneComponentConstants.STEP_BEFOREEVALUATEACTIVEMESH_BOUNDINGBOXRENDERER, this, this.reset);
             this.scene._activeMeshStage.registerStep(BABYLON.SceneComponentConstants.STEP_ACTIVEMESH_BOUNDINGBOXRENDERER, this, this._activeMesh);
             this.scene._evaluateSubMeshStage.registerStep(BABYLON.SceneComponentConstants.STEP_EVALUATESUBMESH_BOUNDINGBOXRENDERER, this, this._evaluateSubMesh);
-            this.scene._afterRenderingGroupDrawStage.registerStep(BABYLON.SceneComponentConstants.STEP_AFTERCAMERADRAW_BOUNDINGBOXRENDERER, this, this.render);
+            this.scene._afterRenderingGroupDrawStage.registerStep(BABYLON.SceneComponentConstants.STEP_AFTERRENDERINGGROUPDRAW_BOUNDINGBOXRENDERER, this, this.render);
         };
         BoundingBoxRenderer.prototype._evaluateSubMesh = function (mesh, subMesh) {
             if (mesh.showSubMeshesBoundingBox) {
@@ -61895,6 +61895,10 @@ var BABYLON;
         BoundingBoxRenderer.prototype.reset = function () {
             this.renderList.reset();
         };
+        /**
+         * Render the bounding boxes of a specific rendering group
+         * @param renderingGroupId defines the rendering group to render
+         */
         BoundingBoxRenderer.prototype.render = function (renderingGroupId) {
             if (this.renderList.length === 0) {
                 return;

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


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


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


+ 2 - 7
dist/preview release/typedocValidationBaseline.json

@@ -1,7 +1,7 @@
 {
-  "errors": 3867,
+  "errors": 3866,
   "babylon.typedoc.json": {
-    "errors": 3867,
+    "errors": 3866,
     "AnimationGroup": {
       "Constructor": {
         "new AnimationGroup": {
@@ -1841,11 +1841,6 @@
             "MissingText": true
           }
         },
-        "render": {
-          "Comments": {
-            "MissingText": true
-          }
-        },
         "renderOcclusionBoundingBox": {
           "Comments": {
             "MissingText": true

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


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


+ 4 - 0
src/Rendering/babylon.boundingBoxRenderer.ts

@@ -162,6 +162,10 @@
             this.renderList.reset();
         }
 
+        /**
+         * Render the bounding boxes of a specific rendering group
+         * @param renderingGroupId defines the rendering group to render
+         */
         public render(renderingGroupId: number): void {
             if (this.renderList.length === 0) {
                 return;