Skip to content

Commit d135532

Browse files
committed
update
1 parent fc241e1 commit d135532

9 files changed

Lines changed: 90 additions & 42 deletions

File tree

JetStreamDriver.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2704,7 +2704,7 @@ let BENCHMARKS = [
27042704
"./babylonjs/benchmark/startup.js",
27052705
],
27062706
preload: {
2707-
BUNDLE: "./babylonjs/dist/bundle.es6.min.js",
2707+
BUNDLE: "./babylonjs/dist/bundle.es6.js",
27082708
},
27092709
args: {
27102710
expectedCacheCommentCount: 21222,
@@ -2733,7 +2733,7 @@ let BENCHMARKS = [
27332733
files: [
27342734
// Use non-minified sources for easier profiling:
27352735
// "./babylonjs/dist/bundle.es6.js",
2736-
"./babylonjs/dist/bundle.es6.min.js",
2736+
"./babylonjs/dist/bundle.es6.js",
27372737
"./babylonjs/benchmark/scene.js",
27382738
],
27392739
preload: {

babylonjs/benchmark/scene.js

Lines changed: 12 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -28,6 +28,9 @@
2828

2929
globalThis.setTimeout = (callback, timeout) => callback();
3030
globalThis.requestAnimationFrame = (callback) => callback();
31+
self = undefined;
32+
globalThis.self = undefined;
33+
window.self = undefined;
3134

3235
// JetStream benchmark.
3336
class Benchmark {
@@ -37,6 +40,7 @@ class Benchmark {
3740
cannonData: null,
3841
particlesJson: null,
3942
};
43+
disposeScene;
4044

4145
constructor(iterationCount) {
4246
this.iterationCount = iterationCount;
@@ -54,12 +58,13 @@ class Benchmark {
5458
}
5559

5660
async runIteration() {
57-
const {classNames, cameraRotationLength} = await BabylonJSBenchmark.runComplexScene(
61+
const {classNames, cameraRotationLength, dispose} = await BabylonJSBenchmark.runComplexScene(
5862
this.preloaded.fortData,
5963
this.preloaded.cannonData,
6064
this.preloaded.particlesJson,
6165
100
6266
);
67+
this.disposeScene = dispose;
6368
const lastResult = {
6469
classNames,
6570
cameraRotationLength
@@ -76,4 +81,10 @@ class Benchmark {
7681
if (value != expected)
7782
throw new Error(`Expected ${name} to be ${expected}, but got ${value}`);
7883
}
84+
85+
validate() {
86+
// FIXME: move to measured phase.
87+
this.disposeScene();
88+
}
7989
}
90+

babylonjs/benchmark/startup.js

Lines changed: 8 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,6 +27,7 @@
2727

2828
class Benchmark extends StartupBenchmark {
2929
iteration = 0;
30+
disposeScene;
3031

3132
constructor({iterationCount, expectedCacheCommentCount}) {
3233
super({
@@ -47,7 +48,8 @@ class Benchmark extends StartupBenchmark {
4748
eval(sourceCode);
4849
// const runStart = performance.now();
4950

50-
const { classNames, cameraRotationLength } = BabylonJSBenchmark.runTest(30);
51+
const { classNames, cameraRotationLength, dispose} = BabylonJSBenchmark.runTest(30);
52+
this.disposeScene = dispose;
5153
const lastResult = {
5254
classNames,
5355
cameraRotationLength,
@@ -80,4 +82,9 @@ class Benchmark extends StartupBenchmark {
8082
if (value != expected)
8183
throw new Error(`Expected ${name} to be ${expected}, but got ${value}`);
8284
}
85+
86+
validate() {
87+
// FIXME: move to measured phase.
88+
this.disposeScene();
89+
}
8390
}

babylonjs/dist/LICENSE.txt

Lines changed: 25 additions & 25 deletions
Original file line numberDiff line numberDiff line change
@@ -1487,7 +1487,7 @@ SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
14871487

14881488
The following npm package may be included in this product:
14891489

1490-
- @babylonjs/loaders@8.23.1
1490+
- @babylonjs/core@8.23.0
14911491

14921492
This package contains the following license:
14931493

@@ -1563,11 +1563,34 @@ In no event and under no legal theory, whether in tort (including negligence), c
15631563

15641564
While redistributing the Work or Derivative Works thereof, You may choose to offer, and charge a fee for, acceptance of support, warranty, indemnity, or other liability obligations and/or rights consistent with this License. However, in accepting such obligations, You may act only on Your own behalf and on Your sole responsibility, not on behalf of any other Contributor, and only if You agree to indemnify, defend, and hold each Contributor harmless for any liability incurred by, or claims asserted against, such Contributor by reason of your accepting any such warranty or additional liability.
15651565

1566+
With the following notices:
1567+
1568+
Babylon.js
1569+
Copyright 2023 The Babylon.js team
1570+
1571+
The following components are included in this package:
1572+
1573+
Draco Compression [v1.5.6](https://github.com/google/draco/tree/1.5.6)
1574+
https://github.com/google/draco
1575+
Licensed under the Apache 2.0 License
1576+
1577+
Basis transcoder
1578+
Copyright 2024 The Khronos Group (https://www.khronos.org/),
1579+
Licensed under the Apache 2.0 license.
1580+
1581+
GLSLang [v11.8.0](https://github.com/KhronosGroup/glslang/releases/tag/11.8.0)
1582+
Copyright 2024 The Khronos Group (https://www.khronos.org/),
1583+
Licensed under the Apache 2.0 license.
1584+
1585+
TWGSL (https://github.com/BabylonJS/twgsl)
1586+
Copyright 20221-2024 The Babylon.js team
1587+
Licensed under the Apache 2.0 License
1588+
15661589
-----------
15671590

15681591
The following npm package may be included in this product:
15691592

1570-
- @babylonjs/core@8.23.0
1593+
- @babylonjs/loaders@8.23.1
15711594

15721595
This package contains the following license:
15731596

@@ -1643,29 +1666,6 @@ In no event and under no legal theory, whether in tort (including negligence), c
16431666

16441667
While redistributing the Work or Derivative Works thereof, You may choose to offer, and charge a fee for, acceptance of support, warranty, indemnity, or other liability obligations and/or rights consistent with this License. However, in accepting such obligations, You may act only on Your own behalf and on Your sole responsibility, not on behalf of any other Contributor, and only if You agree to indemnify, defend, and hold each Contributor harmless for any liability incurred by, or claims asserted against, such Contributor by reason of your accepting any such warranty or additional liability.
16451668

1646-
With the following notices:
1647-
1648-
Babylon.js
1649-
Copyright 2023 The Babylon.js team
1650-
1651-
The following components are included in this package:
1652-
1653-
Draco Compression [v1.5.6](https://github.com/google/draco/tree/1.5.6)
1654-
https://github.com/google/draco
1655-
Licensed under the Apache 2.0 License
1656-
1657-
Basis transcoder
1658-
Copyright 2024 The Khronos Group (https://www.khronos.org/),
1659-
Licensed under the Apache 2.0 license.
1660-
1661-
GLSLang [v11.8.0](https://github.com/KhronosGroup/glslang/releases/tag/11.8.0)
1662-
Copyright 2024 The Khronos Group (https://www.khronos.org/),
1663-
Licensed under the Apache 2.0 license.
1664-
1665-
TWGSL (https://github.com/BabylonJS/twgsl)
1666-
Copyright 20221-2024 The Babylon.js team
1667-
Licensed under the Apache 2.0 License
1668-
16691669
-----------
16701670

16711671
The following npm packages may be included in this product:

babylonjs/dist/bundle.es5.min.js

Lines changed: 15 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -50485,21 +50485,28 @@ e({mode:0,data:n.buffer,sh:n.sh,faces:u,hasVertexColors:!1,compressed:!0,rawSpla
5048550485
e({mode:A,data:n.buffer,sh:n.sh,faces:u,hasVertexColors:!!_,compressed:!1,rawSplat:!1})});case 7:return t.a(2,t.v)}},t)}));return function(e){
5048650486
/*ThouShaltNotCache*/
5048750487
return t.apply(this,arguments)}}())},e}();rQe._DefaultLoadingOptions={keepInRam:!1,flipY:!1},dj(new rQe);var iQe=n(48258);function oQe(){/*ThouShaltNotCache*/var e,t,n="function"==typeof Symbol?Symbol:{},r=n.iterator||"@@iterator",i=n.toStringTag||"@@toStringTag";function o(n,r,i,o){/*ThouShaltNotCache*/var u=r&&r.prototype instanceof s?r:s,c=Object.create(u.prototype);return aQe(c,"_invoke",function(n,r,i){/*ThouShaltNotCache*/var o,s,u,c=0,l=i||[],f=!1,h={p:0,n:0,v:e,a:d,f:d.bind(e,4),d:function(t,n){/*ThouShaltNotCache*/return o=t,s=0,u=e,h.n=n,a}};function d(n,r){/*ThouShaltNotCache*/for(s=n,u=r,t=0;!f&&c&&!i&&t<l.length;t++){var i,o=l[t],d=h.p,p=o[2];n>3?(i=p===r)&&(u=o[(s=o[4])?5:(s=3,3)],o[4]=o[5]=e):o[0]<=d&&((i=n<2&&d<o[1])?(s=0,h.v=r,h.n=o[1]):d<p&&(i=n<3||o[0]>r||r>p)&&(o[4]=n,o[5]=r,h.n=p,s=0))}if(i||n>1)return a;throw f=!0,r}return function(i,l,p){/*ThouShaltNotCache*/if(c>1)throw TypeError("Generator is already running");for(f&&1===l&&d(l,p),s=l,u=p;(t=s<2?e:u)||!f;){o||(s?s<3?(s>1&&(h.n=-1),d(s,u)):h.n=u:h.v=u);try{if(c=2,o){if(s||(i="next"),t=o[i]){if(!(t=t.call(o,u)))throw TypeError("iterator result is not an object");if(!t.done)return t;u=t.value,s<2&&(s=0)}else 1===s&&(t=o.return)&&t.call(o),s<2&&(u=TypeError("The iterator does not provide a '"+i+"' method"),s=1);o=e}else if((t=(f=h.n<0)?u:n.call(r,h))!==a)break}catch(t){o=e,s=1,u=t}finally{c=1}}return{value:t,done:f}}}(n,i,o),!0),c}var a={};function s(){}function u(){}function c(){}t=Object.getPrototypeOf;var l=[][r]?t(t([][r]())):(aQe(t={},r,function(){/*ThouShaltNotCache*/return this}),t),f=c.prototype=s.prototype=Object.create(l);function h(e){/*ThouShaltNotCache*/return Object.setPrototypeOf?Object.setPrototypeOf(e,c):(e.__proto__=c,aQe(e,i,"GeneratorFunction")),e.prototype=Object.create(f),e}return u.prototype=c,aQe(f,"constructor",c),aQe(c,"constructor",u),u.displayName="GeneratorFunction",aQe(c,i,"GeneratorFunction"),aQe(f),aQe(f,i,"Generator"),aQe(f,r,function(){/*ThouShaltNotCache*/return this}),aQe(f,"toString",function(){/*ThouShaltNotCache*/return"[object Generator]"}),(oQe=function(){/*ThouShaltNotCache*/return{w:o,m:h}})()}function aQe(e,t,n,r){/*ThouShaltNotCache*/ /*ThouShaltNotCache*/var i=Object.defineProperty;try{i({},"",{})}catch(e){i=0}aQe=function(e,t,n,r){/*ThouShaltNotCache*/ /*ThouShaltNotCache*/function o(t,n){/*ThouShaltNotCache*/ /*ThouShaltNotCache*/aQe(e,t,function(e){/*ThouShaltNotCache*/ /*ThouShaltNotCache*/return this._invoke(t,n,e)})}t?i?i(e,t,{value:n,enumerable:!r,configurable:!r,writable:!r}):e[t]=n:(o("next",0),o("throw",1),o("return",2))},aQe(e,t,n,r)}function sQe(e,t,n,r,i,o,a){/*ThouShaltNotCache*/try{var s=e[o](a),u=s.value}catch(e){return void n(e)}s.done?t(u):Promise.resolve(u).then(r,i)}function uQe(e){/*ThouShaltNotCache*/return function(){/*ThouShaltNotCache*/var t=this,n=arguments;return new Promise(function(r,i){/*ThouShaltNotCache*/var o=e.apply(t,n);function a(e){/*ThouShaltNotCache*/sQe(o,r,i,a,s,"next",e)}function s(e){/*ThouShaltNotCache*/sQe(o,r,i,a,s,"throw",e)}a(void 0)})}}function cQe(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:10,n=Object.keys(e);
50488-
/*ThouShaltNotCache*/y.V.LogLevels=y.V.NoneLogLevel;for(var r=function(e){
50488+
/*ThouShaltNotCache*/y.V.LogLevels=y.V.NoneLogLevel;for(var r=new gS,i=function(e){
5048950489
/*ThouShaltNotCache*/
50490-
var t=new Hi.Z(e);t.useConstantAnimationDeltaTime=!0;var n=new mc("camera1",new Dx.Pq(0,5,-10),t);n.setTarget(Dx.Pq.Zero());new h_("light1",new Dx.Pq(0,1,0),t);var r=sg.CreateSphere("sphere1",{segments:16,diameter:2,sideOrientation:Kn.FRONTSIDE},t);r.position.y=1;sg.CreateGround("ground1",{width:6,height:6,subdivisions:2,updatable:!1},t);return t}(new gS),i=0;i<t;i++)r.render();return{classNames:n,cameraRotationLength:r.cameras[0].rotation.length()}}function lQe(e,t,n){
50490+
var t=new Hi.Z(e);t.useConstantAnimationDeltaTime=!0;var n=new mc("camera1",new Dx.Pq(0,5,-10),t);n.setTarget(Dx.Pq.Zero());new h_("light1",new Dx.Pq(0,1,0),t);var r=sg.CreateSphere("sphere1",{segments:16,diameter:2,sideOrientation:Kn.FRONTSIDE},t);r.position.y=1;sg.CreateGround("ground1",{width:6,height:6,subdivisions:2,updatable:!1},t);return t}(r),o=0;o<t;o++)i.render();return{classNames:n,cameraRotationLength:i.cameras[0].rotation.length(),dispose:function(){
50491+
/*ThouShaltNotCache*/
50492+
/*ThouShaltNotCache*/
50493+
pQe(i,r)}}}function lQe(e,t,n){
5049150494
/*ThouShaltNotCache*/
5049250495
return fQe.apply(this,arguments)}function fQe(){
5049350496
/*ThouShaltNotCache*/
5049450497
return fQe=uQe(oQe().m(function t(n,r,i){
5049550498
/*ThouShaltNotCache*/
50496-
var o,a,s,u,c,l=arguments;return oQe().w(function(t){
50499+
var o,a,s,u,c,l,f=arguments;return oQe().w(function(t){
5049750500
/*ThouShaltNotCache*/
5049850501
for(;;)switch(t.n){case 0:
5049950502
/*ThouShaltNotCache*/
50500-
return o=l.length>3&&void 0!==l[3]?l[3]:10,
50503+
return o=f.length>3&&void 0!==f[3]?f[3]:10,
50504+
/*ThouShaltNotCache*/
50505+
a=Object.keys(e),y.V.LogLevels=y.V.NoneLogLevel,s=new gS({deterministicLockstep:!0}),t.n=1,hQe(s,n,r,i);case 1:for(u=t.v,c=0;c<o;c++)u.animate(),u.render();return l={classNames:a,cameraRotationLength:u.cameras[0].rotation.length(),dispose:function(){
5050150506
/*ThouShaltNotCache*/
50502-
a=Object.keys(e),y.V.LogLevels=y.V.NoneLogLevel,s=new gS({deterministicLockstep:!0}),t.n=1,hQe(s,n,r,i);case 1:for(u=t.v,c=0;c<o;c++)u.animate(),u.render();return t.a(2,{classNames:a,cameraRotationLength:u.cameras[0].rotation.length()})}},t)})),fQe.apply(this,arguments)}function hQe(e,t,n,r){
50507+
/*ThouShaltNotCache*/
50508+
/*ThouShaltNotCache*/
50509+
pQe(u,s)}},t.a(2,l)}},t)})),fQe.apply(this,arguments)}function hQe(e,t,n,r){
5050350510
/*ThouShaltNotCache*/
5050450511
return dQe.apply(this,arguments)}function dQe(){
5050550512
/*ThouShaltNotCache*/
@@ -50510,5 +50517,7 @@ var o,a,s,u,c,l,f,h,d,p,_,m,v,g,y,b,S,A,x,T,P;return oQe().w(function(e){
5051050517
for(;;)switch(e.n){case 0:
5051150518
/*ThouShaltNotCache*/
5051250519
/*ThouShaltNotCache*/
50513-
return(o=new Hi.Z(t)).useConstantAnimationDeltaTime=!0,o.clearColor=new Dx.v9(.31,.48,.64),new Oc("camera",ve.S0.ToRadians(125),ve.S0.ToRadians(70),25,new Dx.Pq(0,3,0),o).lowerRadiusLimit=10,e.n=1,iQe();case 1:return a=e.v,o.enablePhysics(new Dx.Pq(0,-9.8,0),new qQ(!0,a)),s={},u={},c=sg.CreateSphere("cannonBall",{diameter:.3},o),(l=new Xh("cannonBallMaterial",o)).diffuseColor=Dx.v9.Black(),l.specularPower=256,c.material=l,c.visibility=!1,(f=sg.CreateBox("killBox",{width:400,depth:400,height:4},o)).position=new Dx.Pq(0,-50,0),f.visibility=0,e.n=2,mj(n,o,{pluginExtension:".glb"});case 2:return e.v.meshes[0].name="pirateFort",o.getMeshByName("sea").material.needDepthPrePass=!0,o.getLightByName("Sun").intensity=12,e.n=3,mj(r,o,{pluginExtension:".glb"});case 3:for(h=e.v,(d=h.meshes[0].getChildren()[0]).setParent(null),h.meshes[0].dispose(),p=d.getChildMeshes(),_=0;_<p.length;_++)p[_].metadata="cannon";for(m=h.animationGroups,v=[],g=0;g<m.length;g++)m[g].stop(),v.push(m[g].targetedAnimations[0].animation),m[g].dispose();for((y=new oe.AnimationGroup("cannonAnimGroup")).addTargetedAnimation(v[0],d.getChildMeshes()[1]),y.addTargetedAnimation(v[1],d.getChildMeshes()[0]),(b=sg.CreateBox("particleEmitter",{size:.05},o)).position=new Dx.Pq(0,.76,1.05),b.rotation.x=ve.S0.ToRadians(78.5),b.isVisible=!1,b.setParent(d.getChildMeshes()[1]),(S=tbe.Parse(i,o,"")).emitter=b,S.targetStopDuration=.2,A=[[new Dx.Pq(.97,5.52,1.79),new Dx.Pq(ve.S0.ToRadians(0),ve.S0.ToRadians(0),ve.S0.ToRadians(180))],[new Dx.Pq(1.08,2.32,3.05),new Dx.Pq(ve.S0.ToRadians(0),ve.S0.ToRadians(0),ve.S0.ToRadians(180))],[new Dx.Pq(1.46,2.35,-.73),new Dx.Pq(ve.S0.ToRadians(0),ve.S0.ToRadians(90),ve.S0.ToRadians(180))],[new Dx.Pq(1.45,5.52,-1.66),new Dx.Pq(ve.S0.ToRadians(0),ve.S0.ToRadians(90),ve.S0.ToRadians(180))],[new Dx.Pq(1.49,8.69,-.35),new Dx.Pq(ve.S0.ToRadians(0),ve.S0.ToRadians(90),ve.S0.ToRadians(180))],[new Dx.Pq(-1.37,8.69,-.39),new Dx.Pq(ve.S0.ToRadians(0),ve.S0.ToRadians(-90),ve.S0.ToRadians(180))],[new Dx.Pq(.58,4,-2.18),new Dx.Pq(ve.S0.ToRadians(0),ve.S0.ToRadians(180),ve.S0.ToRadians(180))],[new Dx.Pq(1.22,8.69,-2.5),new Dx.Pq(ve.S0.ToRadians(0),ve.S0.ToRadians(180),ve.S0.ToRadians(180))],[new Dx.Pq(-1.31,2.33,-2.45),new Dx.Pq(ve.S0.ToRadians(0),ve.S0.ToRadians(180),ve.S0.ToRadians(180))],[new Dx.Pq(-3.54,5.26,-2.12),new Dx.Pq(ve.S0.ToRadians(0),ve.S0.ToRadians(-90),ve.S0.ToRadians(180))]],x=0;x<10;x++)(T=d.clone("cannonClone"+x)).position=A[x][0],T.rotation=A[x][1],(P=new oe.AnimationGroup("cannonAnimGroupClone"+x)).addTargetedAnimation(y.targetedAnimations[0].animation,T.getChildMeshes()[1]),P.addTargetedAnimation(y.targetedAnimations[1].animation,T.getChildMeshes()[0]),s[T.name]=P.name,u[T.name]=1;return d.dispose(),y.dispose(),S.dispose(),e.a(2,o)}},e)}))).apply(this,arguments)}}(),BabylonJSBenchmark=r}();
50520+
return(o=new Hi.Z(t)).useConstantAnimationDeltaTime=!0,o.clearColor=new Dx.v9(.31,.48,.64),new Oc("camera",ve.S0.ToRadians(125),ve.S0.ToRadians(70),25,new Dx.Pq(0,3,0),o).lowerRadiusLimit=10,e.n=1,iQe();case 1:return a=e.v,o.enablePhysics(new Dx.Pq(0,-9.8,0),new qQ(!0,a)),s={},u={},c=sg.CreateSphere("cannonBall",{diameter:.3},o),(l=new Xh("cannonBallMaterial",o)).diffuseColor=Dx.v9.Black(),l.specularPower=256,c.material=l,c.visibility=!1,(f=sg.CreateBox("killBox",{width:400,depth:400,height:4},o)).position=new Dx.Pq(0,-50,0),f.visibility=0,e.n=2,mj(n,o,{pluginExtension:".glb"});case 2:return e.v.meshes[0].name="pirateFort",o.getMeshByName("sea").material.needDepthPrePass=!0,o.getLightByName("Sun").intensity=12,e.n=3,mj(r,o,{pluginExtension:".glb"});case 3:for(h=e.v,(d=h.meshes[0].getChildren()[0]).setParent(null),h.meshes[0].dispose(),p=d.getChildMeshes(),_=0;_<p.length;_++)p[_].metadata="cannon";for(m=h.animationGroups,v=[],g=0;g<m.length;g++)m[g].stop(),v.push(m[g].targetedAnimations[0].animation),m[g].dispose();for((y=new oe.AnimationGroup("cannonAnimGroup")).addTargetedAnimation(v[0],d.getChildMeshes()[1]),y.addTargetedAnimation(v[1],d.getChildMeshes()[0]),(b=sg.CreateBox("particleEmitter",{size:.05},o)).position=new Dx.Pq(0,.76,1.05),b.rotation.x=ve.S0.ToRadians(78.5),b.isVisible=!1,b.setParent(d.getChildMeshes()[1]),(S=tbe.Parse(i,o,"")).emitter=b,S.targetStopDuration=.2,A=[[new Dx.Pq(.97,5.52,1.79),new Dx.Pq(ve.S0.ToRadians(0),ve.S0.ToRadians(0),ve.S0.ToRadians(180))],[new Dx.Pq(1.08,2.32,3.05),new Dx.Pq(ve.S0.ToRadians(0),ve.S0.ToRadians(0),ve.S0.ToRadians(180))],[new Dx.Pq(1.46,2.35,-.73),new Dx.Pq(ve.S0.ToRadians(0),ve.S0.ToRadians(90),ve.S0.ToRadians(180))],[new Dx.Pq(1.45,5.52,-1.66),new Dx.Pq(ve.S0.ToRadians(0),ve.S0.ToRadians(90),ve.S0.ToRadians(180))],[new Dx.Pq(1.49,8.69,-.35),new Dx.Pq(ve.S0.ToRadians(0),ve.S0.ToRadians(90),ve.S0.ToRadians(180))],[new Dx.Pq(-1.37,8.69,-.39),new Dx.Pq(ve.S0.ToRadians(0),ve.S0.ToRadians(-90),ve.S0.ToRadians(180))],[new Dx.Pq(.58,4,-2.18),new Dx.Pq(ve.S0.ToRadians(0),ve.S0.ToRadians(180),ve.S0.ToRadians(180))],[new Dx.Pq(1.22,8.69,-2.5),new Dx.Pq(ve.S0.ToRadians(0),ve.S0.ToRadians(180),ve.S0.ToRadians(180))],[new Dx.Pq(-1.31,2.33,-2.45),new Dx.Pq(ve.S0.ToRadians(0),ve.S0.ToRadians(180),ve.S0.ToRadians(180))],[new Dx.Pq(-3.54,5.26,-2.12),new Dx.Pq(ve.S0.ToRadians(0),ve.S0.ToRadians(-90),ve.S0.ToRadians(180))]],x=0;x<10;x++)(T=d.clone("cannonClone"+x)).position=A[x][0],T.rotation=A[x][1],(P=new oe.AnimationGroup("cannonAnimGroupClone"+x)).addTargetedAnimation(y.targetedAnimations[0].animation,T.getChildMeshes()[1]),P.addTargetedAnimation(y.targetedAnimations[1].animation,T.getChildMeshes()[0]),s[T.name]=P.name,u[T.name]=1;return d.dispose(),y.dispose(),S.dispose(),e.a(2,o)}},e)}))).apply(this,arguments)}function pQe(e,t){
50521+
/*ThouShaltNotCache*/
50522+
e.disablePhysicsEngine(),t.stopRenderLoop(),e.dispose(),t.dispose()}}(),BabylonJSBenchmark=r}();
5051450523
//# sourceMappingURL=bundle.es5.min.js.map

babylonjs/dist/bundle.es5.min.js.map

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)