Skip to content

Commit 37ffe25

Browse files
v0.15.10
1 parent 7c12561 commit 37ffe25

File tree

4 files changed

+40
-24
lines changed

4 files changed

+40
-24
lines changed

lib/api/bitbybit/babylon/scene.ts

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -323,12 +323,12 @@ export class BabylonScene {
323323
enableSkybox(inputs: Inputs.BabylonScene.SkyboxDto): void {
324324
let texture: BABYLON.CubeTexture;
325325
if (inputs.skybox === Inputs.Base.skyboxEnum.default) {
326-
texture = new BABYLON.CubeTexture("https://cdn.jsdelivr.net/gh/bitbybit-dev/bitbybit-assets@0.15.9.4/textures/skybox/default_skybox/skybox", this.context.scene);
326+
texture = new BABYLON.CubeTexture("https://cdn.jsdelivr.net/gh/bitbybit-dev/bitbybit-assets@0.15.10/textures/skybox/default_skybox/skybox", this.context.scene);
327327
} else if (inputs.skybox === Inputs.Base.skyboxEnum.clearSky) {
328-
texture = BABYLON.CubeTexture.CreateFromPrefilteredData("https://cdn.jsdelivr.net/gh/bitbybit-dev/bitbybit-assets@0.15.9.4/textures/skybox/clear_sky/environment.env",
328+
texture = BABYLON.CubeTexture.CreateFromPrefilteredData("https://cdn.jsdelivr.net/gh/bitbybit-dev/bitbybit-assets@0.15.10/textures/skybox/clear_sky/environment.env",
329329
this.context.scene, false, false);
330330
} else if (inputs.skybox === Inputs.Base.skyboxEnum.city) {
331-
texture = BABYLON.CubeTexture.CreateFromPrefilteredData("https://cdn.jsdelivr.net/gh/bitbybit-dev/bitbybit-assets@0.15.9.4/textures/skybox/city/environmentSpecular.env",
331+
texture = BABYLON.CubeTexture.CreateFromPrefilteredData("https://cdn.jsdelivr.net/gh/bitbybit-dev/bitbybit-assets@0.15.10/textures/skybox/city/environmentSpecular.env",
332332
this.context.scene, false, false);
333333
}
334334

lib/api/inputs/asset-inputs.ts

Lines changed: 16 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -21,6 +21,22 @@ export namespace Asset {
2121
*/
2222
file: File | Blob;
2323
}
24+
export class FetchDto {
25+
constructor(url?: string, options?: any) {
26+
if (url !== undefined) { this.url = url; }
27+
if (options !== undefined) { this.options = options; }
28+
}
29+
/**
30+
* The url to fetch the asset from
31+
* @default undefined
32+
*/
33+
url: string;
34+
/**
35+
* Options for the fetch
36+
* @default undefined
37+
*/
38+
options: any;
39+
}
2440
export class FilesDto {
2541
constructor(files?: (File | Blob)[]) {
2642
if (files !== undefined) { this.files = files; }

package-lock.json

Lines changed: 18 additions & 18 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

package.json

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "@bitbybit-dev/core",
3-
"version": "0.15.9",
3+
"version": "0.15.10",
44
"description": "Bit By Bit Developers Core CAD API to Program Geometry",
55
"main": "index.js",
66
"repository": {
@@ -60,8 +60,8 @@
6060
"@babylonjs/materials": "7.9.0",
6161
"@babylonjs/serializers": "7.9.0",
6262
"@babylonjs/havok": "1.3.3",
63-
"@bitbybit-dev/occt": "0.15.9",
64-
"@bitbybit-dev/occt-worker": "0.15.9",
63+
"@bitbybit-dev/occt": "0.15.10",
64+
"@bitbybit-dev/occt-worker": "0.15.10",
6565
"jsonpath": "1.1.1",
6666
"@jscad/io-utils": "2.0.25",
6767
"@jscad/modeling": "2.12.0",

0 commit comments

Comments
 (0)