@woosh/meep-engine 2.112.0 → 2.112.1

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/package.json CHANGED
@@ -5,7 +5,7 @@
5
5
  "description": "Fully featured ECS game engine written in JavaScript",
6
6
  "type": "module",
7
7
  "author": "Alexander Goldring",
8
- "version": "2.112.0",
8
+ "version": "2.112.1",
9
9
  "main": "build/meep.module.js",
10
10
  "module": "build/meep.module.js",
11
11
  "exports": {
@@ -49,11 +49,6 @@ export class RowFirstTableSpec {
49
49
  readonly writeRowMethod: (arg0: DataView, arg1: number, arg2: number[]) => void;
50
50
  cellWriters: any[];
51
51
  cellReaders: any[];
52
- /**
53
- * @readonly
54
- * @type {boolean}
55
- */
56
- readonly isRowFirstTableSpec: boolean;
57
52
  /**
58
53
  *
59
54
  * @return {number}
@@ -70,6 +65,11 @@ export class RowFirstTableSpec {
70
65
  * @returns {boolean}
71
66
  */
72
67
  equals(other: RowFirstTableSpec): boolean;
68
+ /**
69
+ * @readonly
70
+ * @type {boolean}
71
+ */
72
+ readonly isRowFirstTableSpec: boolean;
73
73
  }
74
74
  import { BinaryDataType } from "../../binary/type/BinaryDataType.js";
75
75
  import { EndianType } from "../../binary/EndianType.js";
@@ -1 +1 @@
1
- {"version":3,"file":"RowFirstTableSpec.d.ts","sourceRoot":"","sources":["../../../../../src/core/collection/table/RowFirstTableSpec.js"],"names":[],"mappings":"AA+HA;;;GAGG;AACH;IA6GI;;;;;OAKG;IACH,kBAJW,cAAc,EAAE,eAChB,UAAU,GACR,iBAAiB,CAgB7B;IAhID;;;;;OAKG;IACH,mBAJW,cAAc,EAAE,eAChB,UAAU,EAsEpB;IA9DG;;;OAGG;IACH,gBAFU,cAAc,EAAE,CAER;IAElB;;;OAGG;IACH,qBAFU,UAAU,CAEQ;IAE5B;;;OAGG;IACH,wBAFU,WAAW,CAEyB;IAc9C;;;OAGG;IACH,yBAFU,MAAM,CAEgB;IAEhC;;;OAGG;IACH,+BAFmB,QAAQ,QAAE,MAAM,QAAE,MAAM,EAAE,KAAG,IAAI,CAEA;IAEpD;;;OAGG;IACH,gCAFmB,QAAQ,QAAE,MAAM,QAAE,MAAM,EAAE,KAAG,IAAI,CAEC;IAIrD,mBAAsC;IACtC,mBAAsC;IAMtC;;;OAGG;IACH,8BAFU,OAAO,CAEc;IAGnC;;;OAGG;IACH,kBAFY,MAAM,CAIjB;IAED;;;OAGG;IACH,QAFY,MAAM,CAQjB;IAED;;;;OAIG;IACH,cAHW,iBAAiB,GACf,OAAO,CAQnB;CAuBJ;+BA7P8B,qCAAqC;2BADzC,4BAA4B"}
1
+ {"version":3,"file":"RowFirstTableSpec.d.ts","sourceRoot":"","sources":["../../../../../src/core/collection/table/RowFirstTableSpec.js"],"names":[],"mappings":"AA+HA;;;GAGG;AACH;IAwGI;;;;;OAKG;IACH,kBAJW,cAAc,EAAE,eAChB,UAAU,GACR,iBAAiB,CAmB7B;IA9HD;;;;;OAKG;IACH,mBAJW,cAAc,EAAE,eAChB,UAAU,EAiEpB;IAzDG;;;OAGG;IACH,gBAFU,cAAc,EAAE,CAER;IAElB;;;OAGG;IACH,qBAFU,UAAU,CAEQ;IAE5B;;;OAGG;IACH,wBAFU,WAAW,CAEyB;IAc9C;;;OAGG;IACH,yBAFU,MAAM,CAEgB;IAEhC;;;OAGG;IACH,+BAFmB,QAAQ,QAAE,MAAM,QAAE,MAAM,EAAE,KAAG,IAAI,CAEA;IAEpD;;;OAGG;IACH,gCAFmB,QAAQ,QAAE,MAAM,QAAE,MAAM,EAAE,KAAG,IAAI,CAEC;IAIrD,mBAAsC;IACtC,mBAAsC;IAQ1C;;;OAGG;IACH,kBAFY,MAAM,CAIjB;IAED;;;OAGG;IACH,QAFY,MAAM,CAQjB;IAED;;;;OAIG;IACH,cAHW,iBAAiB,GACf,OAAO,CAQnB;IA4BL;;;OAGG;IACH,8BAFU,OAAO,CAE8B;CAN9C;+BA3P8B,qCAAqC;2BADzC,4BAA4B"}
@@ -198,11 +198,6 @@ export class RowFirstTableSpec {
198
198
  this.cellReaders[i] = compileDataViewValueReader(types[i], this.columnOffsets[i], endianType);
199
199
  this.cellWriters[i] = compileDataViewValueWriter(types[i], this.columnOffsets[i], endianType);
200
200
  }
201
- /**
202
- * @readonly
203
- * @type {boolean}
204
- */
205
- this.isRowFirstTableSpec = true;
206
201
  }
207
202
 
208
203
  /**
@@ -245,6 +240,9 @@ export class RowFirstTableSpec {
245
240
  * @returns {RowFirstTableSpec}
246
241
  */
247
242
  static get(types, endianType = EndianType.BigEndian) {
243
+ assert.isArray(types, 'types');
244
+ assert.enum(endianType, EndianType, 'endianType');
245
+
248
246
  //compute hash
249
247
  const hash = types.join('.') + ':' + endianType;
250
248
 
@@ -261,6 +259,12 @@ export class RowFirstTableSpec {
261
259
  }
262
260
  }
263
261
 
262
+ /**
263
+ * @readonly
264
+ * @type {boolean}
265
+ */
266
+ RowFirstTableSpec.prototype.isRowFirstTableSpec = true;
267
+
264
268
 
265
269
  /**
266
270
  * @readonly
@@ -1,9 +1,9 @@
1
1
  import {AttributeSpec} from "./AttributeSpec";
2
2
 
3
- export class VertexDataSpec {
3
+ export class AttributeGroupSpec {
4
4
  readonly attributes: AttributeSpec[]
5
5
 
6
- static from(...attributes: AttributeSpec[]): VertexDataSpec
6
+ static from(...attributes: AttributeSpec[]): AttributeGroupSpec
7
7
 
8
8
  getAttributeByName(name: string): AttributeSpec | undefined
9
9
 
@@ -11,7 +11,7 @@ export class VertexDataSpec {
11
11
 
12
12
  setAttributes(attributes: AttributeSpec[]): void
13
13
 
14
- equals(other: VertexDataSpec): boolean
14
+ equals(other: AttributeGroupSpec): boolean
15
15
 
16
16
  hash(): number
17
17
 
@@ -1,2 +1,3 @@
1
- export const PARTICULAR_PARTICLE_SPECIFICATION: any;
1
+ export const PARTICULAR_PARTICLE_SPECIFICATION: AttributeGroupSpec;
2
+ import { AttributeGroupSpec } from "../../../../geometry/AttributeGroupSpec.js";
2
3
  //# sourceMappingURL=PARTICULAR_PARTICLE_SPECIFICATION.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"PARTICULAR_PARTICLE_SPECIFICATION.d.ts","sourceRoot":"","sources":["../../../../../../../../src/engine/graphics/particles/particular/engine/emitter/PARTICULAR_PARTICLE_SPECIFICATION.js"],"names":[],"mappings":"AAKA,oDAA0E"}
1
+ {"version":3,"file":"PARTICULAR_PARTICLE_SPECIFICATION.d.ts","sourceRoot":"","sources":["../../../../../../../../src/engine/graphics/particles/particular/engine/emitter/PARTICULAR_PARTICLE_SPECIFICATION.js"],"names":[],"mappings":"AAKA,mEAA0E;mCAJvC,4CAA4C"}
@@ -4,5 +4,6 @@ export const BILLBOARD_PARTICLE_ATTRIBUTE_SIZE: 2;
4
4
  export const BILLBOARD_PARTICLE_ATTRIBUTE_VELOCITY: 3;
5
5
  export const BILLBOARD_PARTICLE_ATTRIBUTE_COLOR: 5;
6
6
  export const BILLBOARD_PARTICLE_ATTRIBUTE_BLEND: 6;
7
- export const BILLBOARD_PARTICLE_SPECIFICATION: any;
7
+ export const BILLBOARD_PARTICLE_SPECIFICATION: AttributeGroupSpec;
8
+ import { AttributeGroupSpec } from "../../../../../geometry/AttributeGroupSpec.js";
8
9
  //# sourceMappingURL=BILLBOARD_PARTICLE_SPECIFICATION.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"BILLBOARD_PARTICLE_SPECIFICATION.d.ts","sourceRoot":"","sources":["../../../../../../../../../src/engine/graphics/particles/particular/engine/renderers/billboard/BILLBOARD_PARTICLE_SPECIFICATION.js"],"names":[],"mappings":"AAIA,sDAAuD;AACvD,gDAAiD;AACjD,kDAAmD;AACnD,sDAAuD;AACvD,mDAAoD;AACpD,mDAAoD;AAEpD,mDAAyE"}
1
+ {"version":3,"file":"BILLBOARD_PARTICLE_SPECIFICATION.d.ts","sourceRoot":"","sources":["../../../../../../../../../src/engine/graphics/particles/particular/engine/renderers/billboard/BILLBOARD_PARTICLE_SPECIFICATION.js"],"names":[],"mappings":"AAIA,sDAAuD;AACvD,gDAAiD;AACjD,kDAAmD;AACnD,sDAAuD;AACvD,mDAAoD;AACpD,mDAAoD;AAEpD,kEAAyE;mCAVtC,+CAA+C"}