@woosh/meep-engine 2.33.35 → 2.33.36
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/engine/graphics/micron/build/PatchRepresentation.js +1 -1
- package/engine/graphics/micron/build/buildMicronGeometryFromBufferGeometry.js +1 -1
- package/engine/graphics/micron/build/fill_patch_geometry_data.js +1 -1
- package/engine/graphics/micron/format/serialization/deserialize_patch.js +1 -1
- package/engine/graphics/micron/format/serialization/serialize_patch.js +1 -1
- package/engine/graphics/micron/render/instanced/PatchDataTextures.js +3 -3
- package/engine/graphics/micron/render/instanced/ThreeInstancedAdapter.js +1 -1
- package/engine/graphics/micron/render/instanced/shader/shader_rewrite_standard.js +1 -1
- package/engine/graphics/micron/render/makeThreeMeshFromVirtualGeometry.js +1 -1
- package/engine/graphics/micron/render/v1/MaterialVertexSpec.js +2 -2
- package/engine/graphics/micron/render/v1/ThreeVirtualGeometryAdapter.js +1 -1
- package/engine/graphics/micron/render/v1/VGThreeRenderer.js +1 -1
- package/package.json +2 -1
|
@@ -381,7 +381,7 @@ export class PatchRepresentation {
|
|
|
381
381
|
*
|
|
382
382
|
* @param {MicronGeometryPatch} result
|
|
383
383
|
* @param {THREE.BufferGeometry} source_geometry
|
|
384
|
-
* @param {
|
|
384
|
+
* @param {VertexDataSpec} vertex_data_spec
|
|
385
385
|
*/
|
|
386
386
|
buildMicronGeometryPatch(result, source_geometry, vertex_data_spec) {
|
|
387
387
|
|
|
@@ -214,7 +214,7 @@ export async function buildMicronGeometryFromBufferGeometry(input) {
|
|
|
214
214
|
*
|
|
215
215
|
* @param {PatchRepresentation} node
|
|
216
216
|
* @param {THREE.BufferGeometry} geometry
|
|
217
|
-
* @param {
|
|
217
|
+
* @param {VertexDataSpec} vertex_spec
|
|
218
218
|
* @returns {MicronGeometryPatch}
|
|
219
219
|
*/
|
|
220
220
|
function compilePatchGraph(node, geometry, vertex_spec) {
|
|
@@ -134,7 +134,7 @@ function compute_attribute_data_converter(source, spec) {
|
|
|
134
134
|
* @param {MicronGeometryPatch} result
|
|
135
135
|
* @param {THREE.BufferGeometry} buffer_geometry
|
|
136
136
|
* @param {TopoMesh} topo
|
|
137
|
-
* @param {
|
|
137
|
+
* @param {VertexDataSpec} vertex_data_spec
|
|
138
138
|
*/
|
|
139
139
|
export function fill_patch_geometry_data(result, buffer_geometry, topo, vertex_data_spec) {
|
|
140
140
|
/**
|
|
@@ -6,7 +6,7 @@ import { DataType2TypedArrayConstructorMapping } from "../../../../../core/colle
|
|
|
6
6
|
*
|
|
7
7
|
* @param {BinaryBuffer} buffer
|
|
8
8
|
* @param {MicronGeometryPatch} patch
|
|
9
|
-
* @param {
|
|
9
|
+
* @param {VertexDataSpec} vertex_spec
|
|
10
10
|
* @param {MicronGeometryPatch[]} patch_array
|
|
11
11
|
*/
|
|
12
12
|
export function deserialize_patch(buffer, patch, vertex_spec, patch_array) {
|
|
@@ -4,7 +4,7 @@ import { DataTypeByteSizes } from "../../../../../core/collection/table/DataType
|
|
|
4
4
|
*
|
|
5
5
|
* @param {BinaryBuffer} buffer
|
|
6
6
|
* @param {MicronGeometryPatch} patch
|
|
7
|
-
* @param {
|
|
7
|
+
* @param {VertexDataSpec} vertex_spec
|
|
8
8
|
* @param {MicronGeometryPatch[]} patch_array
|
|
9
9
|
*/
|
|
10
10
|
export function serialize_patch(buffer, patch, vertex_spec, patch_array) {
|
|
@@ -26,7 +26,7 @@ const MAX_TEXTURE_SIZE = 16384;
|
|
|
26
26
|
export class PatchDataTextures {
|
|
27
27
|
/**
|
|
28
28
|
*
|
|
29
|
-
* @param {
|
|
29
|
+
* @param {VertexDataSpec} spec
|
|
30
30
|
* @param {number} [column_count]
|
|
31
31
|
*/
|
|
32
32
|
constructor(spec, column_count = 2) {
|
|
@@ -35,7 +35,7 @@ export class PatchDataTextures {
|
|
|
35
35
|
|
|
36
36
|
/**
|
|
37
37
|
*
|
|
38
|
-
* @type {
|
|
38
|
+
* @type {VertexDataSpec}
|
|
39
39
|
* @private
|
|
40
40
|
*/
|
|
41
41
|
this.__spec = spec;
|
|
@@ -77,7 +77,7 @@ export class PatchDataTextures {
|
|
|
77
77
|
|
|
78
78
|
/**
|
|
79
79
|
*
|
|
80
|
-
* @returns {
|
|
80
|
+
* @returns {VertexDataSpec}
|
|
81
81
|
*/
|
|
82
82
|
get spec() {
|
|
83
83
|
return this.__spec;
|
|
@@ -9,7 +9,7 @@ const DEBUG_PATCHES = false;
|
|
|
9
9
|
*
|
|
10
10
|
* @param {{vertexShader,fragmentShader,uniforms:Object<IUniform>}} shader
|
|
11
11
|
* @param {Object<IUniform>} uniforms
|
|
12
|
-
* @param {
|
|
12
|
+
* @param {VertexDataSpec} spec
|
|
13
13
|
* @param {number} column_count
|
|
14
14
|
*/
|
|
15
15
|
export function shader_rewrite_standard(shader, uniforms, spec, column_count) {
|
|
@@ -2,7 +2,7 @@ export class MaterialVertexSpec {
|
|
|
2
2
|
constructor() {
|
|
3
3
|
/**
|
|
4
4
|
*
|
|
5
|
-
* @type {
|
|
5
|
+
* @type {VertexDataSpec|null}
|
|
6
6
|
*/
|
|
7
7
|
this.spec = null;
|
|
8
8
|
/**
|
|
@@ -34,7 +34,7 @@ export class MaterialVertexSpec {
|
|
|
34
34
|
}
|
|
35
35
|
|
|
36
36
|
/**
|
|
37
|
-
* @param {
|
|
37
|
+
* @param {VertexDataSpec} spec
|
|
38
38
|
* @param {Material} material
|
|
39
39
|
*/
|
|
40
40
|
static from(spec, material) {
|
package/package.json
CHANGED
|
@@ -1,10 +1,11 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@woosh/meep-engine",
|
|
3
3
|
"type": "module",
|
|
4
|
+
"license": "UNLICENSED",
|
|
4
5
|
"productName": "Meep",
|
|
5
6
|
"description": "production-ready JavaScript game engine based on Entity Component System Architecture",
|
|
6
7
|
"author": "Alexander Goldring",
|
|
7
|
-
"version": "2.33.
|
|
8
|
+
"version": "2.33.36",
|
|
8
9
|
"dependencies": {
|
|
9
10
|
"fast-levenshtein": "2.0.6",
|
|
10
11
|
"opentype.js": "1.3.3",
|