UNPKG

@vrame/xeokit-sdk

Version:

3D BIM IFC Viewer SDK for AEC engineering applications. Open Source JavaScript Toolkit based on pure WebGL for top performance, real-world coordinates and full double precision

47 lines (37 loc) 1.37 kB
/** * @private */ export class DTXTrianglesBuffer { constructor() { this.positionsCompressed = []; this.lenPositionsCompressed = 0; this.metallicRoughness = []; this.indices8Bits = []; this.lenIndices8Bits = 0; this.indices16Bits = []; this.lenIndices16Bits = 0; this.indices32Bits = []; this.lenIndices32Bits = 0; this.edgeIndices8Bits = []; this.lenEdgeIndices8Bits = 0; this.edgeIndices16Bits = []; this.lenEdgeIndices16Bits = 0; this.edgeIndices32Bits = []; this.lenEdgeIndices32Bits = 0; this.perObjectColors = []; this.perObjectPickColors = []; this.perObjectSolid = []; this.perObjectOffsets = []; this.perObjectPositionsDecodeMatrices = []; this.perObjectInstancePositioningMatrices = []; this.perObjectVertexBases = []; this.perObjectIndexBaseOffsets = []; this.perObjectEdgeIndexBaseOffsets = []; this.perTriangleNumberPortionId8Bits = []; this.perTriangleNumberPortionId16Bits = []; this.perTriangleNumberPortionId32Bits = []; this.perEdgeNumberPortionId8Bits = []; this.perEdgeNumberPortionId16Bits = []; this.perEdgeNumberPortionId32Bits = []; } }