babylonjs-loaders 7.27.0 → 7.27.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/babylon.objFileLoader.js +83 -23
- package/babylon.objFileLoader.min.js +1 -1
- package/babylon.objFileLoader.min.js.map +1 -1
- package/babylonjs.loaders.d.ts +8 -0
- package/babylonjs.loaders.js +83 -23
- package/babylonjs.loaders.min.js +1 -1
- package/babylonjs.loaders.min.js.map +1 -1
- package/babylonjs.loaders.module.d.ts +16 -0
- package/package.json +3 -3
|
@@ -4351,6 +4351,7 @@ export class SolidParser {
|
|
|
4351
4351
|
private _normals;
|
|
4352
4352
|
private _uvs;
|
|
4353
4353
|
private _colors;
|
|
4354
|
+
private _extColors;
|
|
4354
4355
|
private _meshesFromObj;
|
|
4355
4356
|
private _handledMesh;
|
|
4356
4357
|
private _indicesForBabylon;
|
|
@@ -4427,6 +4428,12 @@ export class SolidParser {
|
|
|
4427
4428
|
* @param v Integer The variable to increment
|
|
4428
4429
|
*/
|
|
4429
4430
|
private _getTriangles;
|
|
4431
|
+
/**
|
|
4432
|
+
* To get color between color and extension color
|
|
4433
|
+
* @param index Integer The index of the element in the array
|
|
4434
|
+
* @returns value of target color
|
|
4435
|
+
*/
|
|
4436
|
+
private _getColor;
|
|
4430
4437
|
/**
|
|
4431
4438
|
* Create triangles and push the data for each polygon for the pattern 1
|
|
4432
4439
|
* In this pattern we get vertice positions
|
|
@@ -4461,6 +4468,7 @@ export class SolidParser {
|
|
|
4461
4468
|
private static _IsLineElement;
|
|
4462
4469
|
private static _IsObjectElement;
|
|
4463
4470
|
private static _IsGroupElement;
|
|
4471
|
+
private static _GetZbrushMRGB;
|
|
4464
4472
|
/**
|
|
4465
4473
|
* Function used to parse an OBJ string
|
|
4466
4474
|
* @param meshesNames defines the list of meshes to load (all if not defined)
|
|
@@ -8970,6 +8978,7 @@ declare module BABYLON {
|
|
|
8970
8978
|
private _normals;
|
|
8971
8979
|
private _uvs;
|
|
8972
8980
|
private _colors;
|
|
8981
|
+
private _extColors;
|
|
8973
8982
|
private _meshesFromObj;
|
|
8974
8983
|
private _handledMesh;
|
|
8975
8984
|
private _indicesForBabylon;
|
|
@@ -9046,6 +9055,12 @@ declare module BABYLON {
|
|
|
9046
9055
|
* @param v Integer The variable to increment
|
|
9047
9056
|
*/
|
|
9048
9057
|
private _getTriangles;
|
|
9058
|
+
/**
|
|
9059
|
+
* To get color between color and extension color
|
|
9060
|
+
* @param index Integer The index of the element in the array
|
|
9061
|
+
* @returns value of target color
|
|
9062
|
+
*/
|
|
9063
|
+
private _getColor;
|
|
9049
9064
|
/**
|
|
9050
9065
|
* Create triangles and push the data for each polygon for the pattern 1
|
|
9051
9066
|
* In this pattern we get vertice positions
|
|
@@ -9080,6 +9095,7 @@ declare module BABYLON {
|
|
|
9080
9095
|
private static _IsLineElement;
|
|
9081
9096
|
private static _IsObjectElement;
|
|
9082
9097
|
private static _IsGroupElement;
|
|
9098
|
+
private static _GetZbrushMRGB;
|
|
9083
9099
|
/**
|
|
9084
9100
|
* Function used to parse an OBJ string
|
|
9085
9101
|
* @param meshesNames defines the list of meshes to load (all if not defined)
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "babylonjs-loaders",
|
|
3
|
-
"version": "7.27.
|
|
3
|
+
"version": "7.27.1",
|
|
4
4
|
"main": "babylonjs.loaders.js",
|
|
5
5
|
"types": "babylonjs.loaders.module.d.ts",
|
|
6
6
|
"files": [
|
|
@@ -15,8 +15,8 @@
|
|
|
15
15
|
"test:escheck": "es-check es6 ./babylonjs.loaders.js"
|
|
16
16
|
},
|
|
17
17
|
"dependencies": {
|
|
18
|
-
"babylonjs": "^7.27.
|
|
19
|
-
"babylonjs-gltf2interface": "^7.27.
|
|
18
|
+
"babylonjs": "^7.27.1",
|
|
19
|
+
"babylonjs-gltf2interface": "^7.27.1"
|
|
20
20
|
},
|
|
21
21
|
"devDependencies": {
|
|
22
22
|
"@dev/build-tools": "1.0.0",
|