feat: gun limits

This commit is contained in:
TrèsAbhi committed 2024-01-02 14:50:46 -06:00
1 parent 9bd26ef3bf
commit d543e42268
5 files changed
+103 -34

No files matched your search

+5 -5
View File
@@ -14,9 +14,9 @@ import { ScgStream, vertexAttributeVectorSizes } from '../streams/scg';
import { VertexAttribute } from '../streams/scpg';
import { readDVPLFile } from './readDVPLFile';
BigInt.prototype.toJSON = function () {
return this.toString();
};
// BigInt.prototype.toJSON = function () {
// return this.toString();
// };
const MAX_FLOAT32 = 2 ** 127 * (2 - 2 ** -23);
@@ -175,11 +175,11 @@ export async function extractModel(
case 'ActionComponent':
case 'ParticleEffectComponent':
case 'SlotComponent':
case 'MotionComponent':
case 'TankElementComponent':
case 'SkeletonComponent':
break;
// console.log(JSON.stringify(component, null, 2));
case 'TransformComponent': {
const translation = new Vector3();
const rotation = new Quaternion();