mirror of
https://github.com/blitzkit/blitzkit.git
synced 2026-10-23 11:39:50 +02:00
feat: started work on armor extraction
This commit is contained in:
1 parent
1f39ecefe4
commit
7235291e69
16 files changed
+277
-43
No files matched your search
@@ -42,6 +42,7 @@ interface EnabledPresets {
|
||||
|
||||
interface Flags {
|
||||
AMBIENT_ATTENUATION_BOX: number;
|
||||
BLENDING: number;
|
||||
}
|
||||
|
||||
interface Properties {
|
||||
|
||||
@@ -1,3 +1,4 @@
|
||||
import { writeFile } from 'fs/promises';
|
||||
import { ScpgStream, VertexAttribute } from './scpg';
|
||||
|
||||
interface PolygonGroupRaw {
|
||||
@@ -66,6 +67,8 @@ export class ScgStream extends ScpgStream {
|
||||
polygonGroupsRaw.push(polygonGroupRaw);
|
||||
}
|
||||
|
||||
writeFile('test.scg.json', JSON.stringify({ polygonGroupsRaw }, null, 2));
|
||||
|
||||
polygonGroupsRaw.forEach((polygonGroupRaw) => {
|
||||
const indicesStream = new ScpgStream(polygonGroupRaw.indices);
|
||||
const indices: number[] = [];
|
||||
|
||||
Reference in new issue
Block a user