@woosh/meep-engine 2.111.15 → 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 +1 -1
- package/src/core/collection/table/RowFirstTableSpec.d.ts +5 -5
- package/src/core/collection/table/RowFirstTableSpec.d.ts.map +1 -1
- package/src/core/collection/table/RowFirstTableSpec.js +9 -5
- package/src/engine/graphics/geometry/{VertexDataSpec.d.ts → AttributeGroupSpec.d.ts} +3 -3
- package/src/engine/graphics/geometry/AttributeGroupSpec.d.ts.map +1 -0
- package/src/engine/graphics/geometry/{VertexDataSpec.js → AttributeGroupSpec.js} +6 -6
- package/src/engine/graphics/geometry/AttributeSpec.d.ts +4 -0
- package/src/engine/graphics/particles/particular/engine/emitter/PARTICULAR_PARTICLE_SPECIFICATION.d.ts +2 -2
- package/src/engine/graphics/particles/particular/engine/emitter/PARTICULAR_PARTICLE_SPECIFICATION.d.ts.map +1 -1
- package/src/engine/graphics/particles/particular/engine/emitter/PARTICULAR_PARTICLE_SPECIFICATION.js +3 -3
- package/src/engine/graphics/particles/particular/engine/emitter/ParticlePool.d.ts +4 -4
- package/src/engine/graphics/particles/particular/engine/emitter/ParticlePool.d.ts.map +1 -1
- package/src/engine/graphics/particles/particular/engine/emitter/ParticlePool.js +3 -3
- package/src/engine/graphics/particles/particular/engine/renderers/billboard/BILLBOARD_PARTICLE_SPECIFICATION.d.ts +2 -2
- package/src/engine/graphics/particles/particular/engine/renderers/billboard/BILLBOARD_PARTICLE_SPECIFICATION.d.ts.map +1 -1
- package/src/engine/graphics/particles/particular/engine/renderers/billboard/BILLBOARD_PARTICLE_SPECIFICATION.js +3 -3
- package/src/engine/graphics/particles/particular/group/ParticleSpecification.d.ts +1 -1
- package/src/engine/graphics/particles/particular/group/ParticleSpecification.js +1 -1
- package/src/engine/navigation/ecs/components/Path.js +3 -3
- package/src/engine/graphics/geometry/VertexDataSpec.d.ts.map +0 -1
package/package.json
CHANGED
|
@@ -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;
|
|
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
|
|
3
|
+
export class AttributeGroupSpec {
|
|
4
4
|
readonly attributes: AttributeSpec[]
|
|
5
5
|
|
|
6
|
-
static from(...attributes: AttributeSpec[]):
|
|
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:
|
|
14
|
+
equals(other: AttributeGroupSpec): boolean
|
|
15
15
|
|
|
16
16
|
hash(): number
|
|
17
17
|
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"AttributeGroupSpec.d.ts","sourceRoot":"","sources":["../../../../../src/engine/graphics/geometry/AttributeGroupSpec.js"],"names":[],"mappings":"AAYA;;;GAGG;AACH;IAeI;;;;OAIG;IACH,2BAHW,aAAa,GACX,kBAAkB,CAQ9B;IAxBD;;;OAGG;IACH,YAFU,aAAa,EAAE,CAET;IAsBhB;;;;OAIG;IACH,yBAHW,MAAM,GACL,aAAa,GAAC,SAAS,CAgBlC;IAED;;;OAGG;IACH,8BAFW,MAAM,GADJ,MAAM,CAiBlB;IAED;;;OAGG;IACH,oBAFW,aAAa,EAAE,QAOzB;IAED;;;;OAIG;IACH,eAHW,aAAa,GACZ,kBAAkB,CAkB7B;IAED;;;OAGG;IACH,0BAFW,aAAa,EAAE,QAQzB;IAED,cAMC;IAED;;;;OAIG;IACH,cAHW,kBAAkB,GAChB,OAAO,CAQnB;IAED,sBASC;IAED,eAMC;IAED;;MAIC;IAED;;aAkBC;IAED;;;OAGG;IACH,eAFa,MAAM,CAelB;IAIL;;;OAGG;IACH,+BAFU,OAAO,CAEgC;;CAPhD;8BAnN6B,oBAAoB"}
|
|
@@ -14,7 +14,7 @@ const RESERVED_HASH = 1234567;
|
|
|
14
14
|
* Describes a set of data attributes. A good analogy would be "all data associated with geometry vertex"
|
|
15
15
|
* @example "uv","position" and "normal" attributes of geometry vertices
|
|
16
16
|
*/
|
|
17
|
-
export class
|
|
17
|
+
export class AttributeGroupSpec {
|
|
18
18
|
|
|
19
19
|
/**
|
|
20
20
|
*
|
|
@@ -32,10 +32,10 @@ export class VertexDataSpec {
|
|
|
32
32
|
/**
|
|
33
33
|
*
|
|
34
34
|
* @param {AttributeSpec} attributes
|
|
35
|
-
* @returns {
|
|
35
|
+
* @returns {AttributeGroupSpec}
|
|
36
36
|
*/
|
|
37
37
|
static from(...attributes) {
|
|
38
|
-
const r = new
|
|
38
|
+
const r = new AttributeGroupSpec();
|
|
39
39
|
|
|
40
40
|
r.addMany(attributes);
|
|
41
41
|
|
|
@@ -97,7 +97,7 @@ export class VertexDataSpec {
|
|
|
97
97
|
/**
|
|
98
98
|
*
|
|
99
99
|
* @param {AttributeSpec} attribute
|
|
100
|
-
* @return {
|
|
100
|
+
* @return {AttributeGroupSpec}
|
|
101
101
|
*/
|
|
102
102
|
add(attribute) {
|
|
103
103
|
|
|
@@ -139,7 +139,7 @@ export class VertexDataSpec {
|
|
|
139
139
|
|
|
140
140
|
/**
|
|
141
141
|
*
|
|
142
|
-
* @param {
|
|
142
|
+
* @param {AttributeGroupSpec} other
|
|
143
143
|
* @returns {boolean}
|
|
144
144
|
*/
|
|
145
145
|
equals(other) {
|
|
@@ -220,4 +220,4 @@ export class VertexDataSpec {
|
|
|
220
220
|
* @readonly
|
|
221
221
|
* @type {boolean}
|
|
222
222
|
*/
|
|
223
|
-
|
|
223
|
+
AttributeGroupSpec.prototype.isAttributeGroupSpec = true;
|
|
@@ -5,4 +5,8 @@ export class AttributeSpec {
|
|
|
5
5
|
readonly type: BinaryDataType
|
|
6
6
|
readonly itemSize: number
|
|
7
7
|
readonly normalized: boolean
|
|
8
|
+
|
|
9
|
+
fromJSON(json: { name: string, type: BinaryDataType, itemSize: number, normalized: boolean })
|
|
10
|
+
|
|
11
|
+
static fromJSON(json: { name: string, type: BinaryDataType, itemSize: number, normalized: boolean }): AttributeSpec
|
|
8
12
|
}
|
|
@@ -1,3 +1,3 @@
|
|
|
1
|
-
export const PARTICULAR_PARTICLE_SPECIFICATION:
|
|
2
|
-
import {
|
|
1
|
+
export const PARTICULAR_PARTICLE_SPECIFICATION: AttributeGroupSpec;
|
|
2
|
+
import { AttributeGroupSpec } from "../../../../geometry/AttributeGroupSpec.js";
|
|
3
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
|
|
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"}
|
package/src/engine/graphics/particles/particular/engine/emitter/PARTICULAR_PARTICLE_SPECIFICATION.js
CHANGED
|
@@ -1,9 +1,9 @@
|
|
|
1
|
-
import { VertexDataSpec } from "../../../../geometry/VertexDataSpec.js";
|
|
2
|
-
import { AttributeSpec } from "../../../../geometry/AttributeSpec.js";
|
|
3
1
|
import { BinaryDataType } from "../../../../../../core/binary/type/BinaryDataType.js";
|
|
2
|
+
import { AttributeGroupSpec } from "../../../../geometry/AttributeGroupSpec.js";
|
|
3
|
+
import { AttributeSpec } from "../../../../geometry/AttributeSpec.js";
|
|
4
4
|
|
|
5
5
|
//build particle spec
|
|
6
|
-
export const PARTICULAR_PARTICLE_SPECIFICATION = new
|
|
6
|
+
export const PARTICULAR_PARTICLE_SPECIFICATION = new AttributeGroupSpec();
|
|
7
7
|
|
|
8
8
|
PARTICULAR_PARTICLE_SPECIFICATION.add(AttributeSpec.fromJSON({
|
|
9
9
|
name: 'position',
|
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
export class ParticlePool {
|
|
2
2
|
/**
|
|
3
3
|
*
|
|
4
|
-
* @param {
|
|
4
|
+
* @param {AttributeGroupSpec} spec
|
|
5
5
|
* @constructor
|
|
6
6
|
*/
|
|
7
|
-
constructor(spec:
|
|
7
|
+
constructor(spec: AttributeGroupSpec);
|
|
8
8
|
/**
|
|
9
9
|
*
|
|
10
10
|
* @type {BitSet}
|
|
@@ -36,9 +36,9 @@ export class ParticlePool {
|
|
|
36
36
|
capacity: number;
|
|
37
37
|
/**
|
|
38
38
|
*
|
|
39
|
-
* @type {
|
|
39
|
+
* @type {AttributeGroupSpec}
|
|
40
40
|
*/
|
|
41
|
-
spec:
|
|
41
|
+
spec: AttributeGroupSpec;
|
|
42
42
|
size(): number;
|
|
43
43
|
/**
|
|
44
44
|
*
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"ParticlePool.d.ts","sourceRoot":"","sources":["../../../../../../../../src/engine/graphics/particles/particular/engine/emitter/ParticlePool.js"],"names":[],"mappings":"AAcA;IAoCI;;;;OAIG;IACH,
|
|
1
|
+
{"version":3,"file":"ParticlePool.d.ts","sourceRoot":"","sources":["../../../../../../../../src/engine/graphics/particles/particular/engine/emitter/ParticlePool.js"],"names":[],"mappings":"AAcA;IAoCI;;;;OAIG;IACH,sCAWC;IAnDD;;;OAGG;IACH,WAFU,MAAM,CAES;IAEzB;;;OAGG;IACH,YAFU,eAAe,EAAE,CAEX;IAEhB;;OAEG;IACH,cAAmC;IAEnC;;;OAGG;IACH,YAFU,MAAM,CAEC;IAEjB;;;OAGG;IACH,cAFU,MAAM,CAEG;IAEnB;;;OAGG;IACH,UAFU,MAAM,CAEF;IAUV;;;OAGG;IACH,yBAAgB;IAMpB,eAEC;IAED;;;OAGG;IACH,UAFa,MAAM,CAiBlB;IAED;;;OAGG;IACH,YAFa,OAAO,CAMnB;IAED;;;OAGG;IACH,cAFW,MAAM,QAIhB;IAED;;OAEG;IACH,gBA4CC;IAED,yBAsBC;IAED,eASC;IAED;;;;;OAKG;IACH,aAHW,MAAM,UACN,MAAM,QAgChB;IAED,cA+CC;IAED;;;OAGG;IACH,uBAFW,MAAM,QAYhB;IAED;;;OAGG;IACH,4BAFW,MAAM,QAWhB;IAED;;;OAGG;IACH,yBAFW,MAAM,QAiBhB;IAED;;;;;OAKG;IACH,8DAFa,MAAM,CAQlB;IAED;;;;;OAKG;IACH,qEAFW,MAAM,QAQhB;IAED;;;;;OAKG;IACH,sEAFW,MAAM,EAAE,QAWlB;IAED;;;;;;OAMG;IACH,kEAHW,MAAM,KACN,MAAM,QAWhB;IAED;;;;;OAKG;IACH,sEAFW,MAAM,EAAE,QAYlB;IAED;;;;;;;OAOG;IACH,kEAJW,MAAM,KACN,MAAM,KACN,MAAM,QAYhB;IAED;;;;;OAKG;IACH,sEAFW,MAAM,EAAE,QAalB;IAED;;;;;;;;OAQG;IACH,kEALW,MAAM,KACN,MAAM,KACN,MAAM,KACN,MAAM,QAahB;IAED;;;;;OAKG;IACH,2CAHW,MAAM,SACN,MAAM,EAAE,GAAC,YAAY,GAAC,UAAU,GAAC,WAAW,GAAC,SAAS,GAAC,UAAU,QA4B3E;IAED;;;;OAIG;IACH,+DAHW,MAAM,UACN,MAAM,EAAE,QAgBlB;IAED,gBAOC;CACJ;uBAzhBsB,yCAAyC;gCAFC,OAAO"}
|
|
@@ -50,15 +50,15 @@ export class ParticlePool {
|
|
|
50
50
|
|
|
51
51
|
/**
|
|
52
52
|
*
|
|
53
|
-
* @param {
|
|
53
|
+
* @param {AttributeGroupSpec} spec
|
|
54
54
|
* @constructor
|
|
55
55
|
*/
|
|
56
56
|
constructor(spec) {
|
|
57
|
-
assert.equal(spec.
|
|
57
|
+
assert.equal(spec.isAttributeGroupSpec, true, 'spec.VertexDataSpec !== true');
|
|
58
58
|
|
|
59
59
|
/**
|
|
60
60
|
*
|
|
61
|
-
* @type {
|
|
61
|
+
* @type {AttributeGroupSpec}
|
|
62
62
|
*/
|
|
63
63
|
this.spec = spec;
|
|
64
64
|
|
|
@@ -4,6 +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:
|
|
8
|
-
import {
|
|
7
|
+
export const BILLBOARD_PARTICLE_SPECIFICATION: AttributeGroupSpec;
|
|
8
|
+
import { AttributeGroupSpec } from "../../../../../geometry/AttributeGroupSpec.js";
|
|
9
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,
|
|
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"}
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { VertexDataSpec } from "../../../../../geometry/VertexDataSpec.js";
|
|
2
|
-
import { AttributeSpec } from "../../../../../geometry/AttributeSpec.js";
|
|
3
1
|
import { BinaryDataType } from "../../../../../../../core/binary/type/BinaryDataType.js";
|
|
2
|
+
import { AttributeGroupSpec } from "../../../../../geometry/AttributeGroupSpec.js";
|
|
3
|
+
import { AttributeSpec } from "../../../../../geometry/AttributeSpec.js";
|
|
4
4
|
|
|
5
5
|
export const BILLBOARD_PARTICLE_ATTRIBUTE_POSITION = 0;
|
|
6
6
|
export const BILLBOARD_PARTICLE_ATTRIBUTE_UV = 1;
|
|
@@ -9,7 +9,7 @@ export const BILLBOARD_PARTICLE_ATTRIBUTE_VELOCITY = 3;
|
|
|
9
9
|
export const BILLBOARD_PARTICLE_ATTRIBUTE_COLOR = 5;
|
|
10
10
|
export const BILLBOARD_PARTICLE_ATTRIBUTE_BLEND = 6;
|
|
11
11
|
|
|
12
|
-
export const BILLBOARD_PARTICLE_SPECIFICATION = new
|
|
12
|
+
export const BILLBOARD_PARTICLE_SPECIFICATION = new AttributeGroupSpec();
|
|
13
13
|
|
|
14
14
|
BILLBOARD_PARTICLE_SPECIFICATION.add(AttributeSpec.fromJSON({ name: 'position', itemSize: 3, type: BinaryDataType.Float32 }));
|
|
15
15
|
BILLBOARD_PARTICLE_SPECIFICATION.add(AttributeSpec.fromJSON({
|
|
@@ -15,8 +15,8 @@ import {
|
|
|
15
15
|
import {
|
|
16
16
|
v3_computeCatmullRomSplineUniformDistance
|
|
17
17
|
} from "../../../../core/math/spline/v3_computeCatmullRomSplineUniformDistance.js";
|
|
18
|
+
import { AttributeGroupSpec } from "../../../graphics/geometry/AttributeGroupSpec.js";
|
|
18
19
|
import { AttributeSpec } from "../../../graphics/geometry/AttributeSpec.js";
|
|
19
|
-
import { VertexDataSpec } from "../../../graphics/geometry/VertexDataSpec.js";
|
|
20
20
|
import { InterpolationType } from "./InterpolationType.js";
|
|
21
21
|
|
|
22
22
|
const scratch_v3_a = new Float32Array(3);
|
|
@@ -62,10 +62,10 @@ class Path {
|
|
|
62
62
|
constructor() {
|
|
63
63
|
/**
|
|
64
64
|
*
|
|
65
|
-
* @type {
|
|
65
|
+
* @type {AttributeGroupSpec}
|
|
66
66
|
* @private
|
|
67
67
|
*/
|
|
68
|
-
this.__spec =
|
|
68
|
+
this.__spec = AttributeGroupSpec.from(
|
|
69
69
|
AttributeSpec.fromJSON({
|
|
70
70
|
name: 'position',
|
|
71
71
|
type: BinaryDataType.Float32,
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"VertexDataSpec.d.ts","sourceRoot":"","sources":["../../../../../src/engine/graphics/geometry/VertexDataSpec.js"],"names":[],"mappings":"AAYA;;;GAGG;AACH;IAeI;;;;OAIG;IACH,2BAHW,aAAa,GACX,cAAc,CAQ1B;IAxBD;;;OAGG;IACH,YAFU,aAAa,EAAE,CAET;IAsBhB;;;;OAIG;IACH,yBAHW,MAAM,GACL,aAAa,GAAC,SAAS,CAgBlC;IAED;;;OAGG;IACH,8BAFW,MAAM,GADJ,MAAM,CAiBlB;IAED;;;OAGG;IACH,oBAFW,aAAa,EAAE,QAOzB;IAED;;;;OAIG;IACH,eAHW,aAAa,GACZ,cAAc,CAkBzB;IAED;;;OAGG;IACH,0BAFW,aAAa,EAAE,QAQzB;IAED,cAMC;IAED;;;;OAIG;IACH,cAHW,cAAc,GACZ,OAAO,CAQnB;IAED,sBASC;IAED,eAMC;IAED;;MAIC;IAED;;aAkBC;IAED;;;OAGG;IACH,eAFa,MAAM,CAelB;IAIL;;;OAGG;IACH,2BAFU,OAAO,CAEwB;;CAPxC;8BAnN6B,oBAAoB"}
|