reze-engine 0.1.6 → 0.1.7
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/README.md +99 -99
- package/dist/engine.d.ts.map +1 -1
- package/dist/engine.js +308 -307
- package/dist/pmx-loader.d.ts.map +1 -1
- package/dist/pmx-loader.js +6 -12
- package/package.json +1 -1
- package/src/camera.ts +358 -358
- package/src/engine.ts +1829 -1826
- package/src/math.ts +546 -546
- package/src/model.ts +421 -421
- package/src/physics.ts +680 -680
- package/src/pmx-loader.ts +1054 -1060
package/dist/pmx-loader.js
CHANGED
|
@@ -251,20 +251,14 @@ export class PmxLoader {
|
|
|
251
251
|
materialName.includes("eye") ||
|
|
252
252
|
materialName.includes("pupil") ||
|
|
253
253
|
materialName.includes("iris") ||
|
|
254
|
-
materialName.includes("目白")
|
|
254
|
+
materialName.includes("目白") ||
|
|
255
|
+
materialName.includes("眼") ||
|
|
256
|
+
materialName.includes("睛") ||
|
|
257
|
+
materialName.includes("眉");
|
|
255
258
|
// Classify face materials
|
|
256
|
-
mat.isFace =
|
|
257
|
-
materialName.includes("顔") || // Japanese "face"
|
|
258
|
-
materialName.includes("肌") || // Japanese "skin"
|
|
259
|
-
materialName.includes("face") ||
|
|
260
|
-
materialName.includes("skin") ||
|
|
261
|
-
materialName.includes("head");
|
|
259
|
+
mat.isFace = materialName.includes("face") || materialName.includes("脸");
|
|
262
260
|
// Classify hair materials
|
|
263
|
-
mat.isHair =
|
|
264
|
-
materialName.includes("髪") || // Japanese "hair"
|
|
265
|
-
materialName.includes("前髪") || // Japanese "bangs"
|
|
266
|
-
materialName.includes("hair_f") ||
|
|
267
|
-
materialName.includes("头发");
|
|
261
|
+
mat.isHair = materialName.includes("hair_f");
|
|
268
262
|
this.materials.push(mat);
|
|
269
263
|
}
|
|
270
264
|
}
|