mirror of
https://github.com/blitzkit/blitzkit.git
synced 2026-10-23 19:49:50 +02:00
feat: improved lighting and grid
This commit is contained in:
1 parent
e65582a432
commit
3ea872c6a4
7 files changed
+174
-21
No files matched your search
@@ -14,6 +14,10 @@ import { ScgStream, vertexAttributeVectorSizes } from '../streams/scg';
|
||||
import { VertexAttribute } from '../streams/scpg';
|
||||
import { readDVPLFile } from './readDVPLFile';
|
||||
|
||||
BigInt.prototype.toJSON = function () {
|
||||
return this.toString();
|
||||
};
|
||||
|
||||
const MAX_FLOAT32 = 2 ** 127 * (2 - 2 ** -23);
|
||||
|
||||
const vertexAttributeGLTFName: Partial<Record<VertexAttribute, string>> = {
|
||||
@@ -168,9 +172,14 @@ export async function extractModel(
|
||||
case 'NewSlotComponent':
|
||||
case 'StateSwitcherComponent':
|
||||
case 'CustomPropertiesComponent':
|
||||
case 'ActionComponent':
|
||||
case 'ParticleEffectComponent':
|
||||
case 'SlotComponent':
|
||||
case 'TankElementComponent':
|
||||
break;
|
||||
|
||||
// console.log(JSON.stringify(component, null, 2));
|
||||
|
||||
case 'TransformComponent': {
|
||||
const translation = new Vector3();
|
||||
const rotation = new Quaternion();
|
||||
|
||||
Reference in new issue
Block a user