@predy-js/render-interface 0.1.19 → 0.1.21

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.
@@ -3,7 +3,6 @@ import { MarsMaterial } from './MarsMaterial';
3
3
  import { MarsGeometry } from './MarsGeometry';
4
4
  import type { Material, MaterialDestroyOptions, MaterialOptions } from '../../types/Material';
5
5
  import type { MarsRenderer } from './MarsRenderer';
6
- import type { mat4 } from '../../types';
7
6
  import { DestroyOptions } from '../../types/constants';
8
7
  import type { InstancedMesh } from '../../types/Mesh';
9
8
  export declare class MarsMesh implements Mesh {
@@ -11,7 +10,6 @@ export declare class MarsMesh implements Mesh {
11
10
  readonly geometries: MarsGeometry[];
12
11
  readonly name: string;
13
12
  priority: number;
14
- worldMatrix: mat4 | Float32Array;
15
13
  hide: boolean;
16
14
  renderer?: MarsRenderer;
17
15
  private _isDestroyed;
package/dist/statistic.js CHANGED
@@ -2,7 +2,7 @@
2
2
  * Name: @predy-js/render-interface
3
3
  * Description: undefined
4
4
  * Author: undefined
5
- * Version: v0.1.19
5
+ * Version: v0.1.21
6
6
  */
7
7
 
8
8
  // https://github.com/greggman/webgl-memory/blob/main/src/texture-utils.js
@@ -2,12 +2,10 @@ import type { Material, MaterialDestroyOptions, MaterialOptions } from './Materi
2
2
  import type { Geometry, GeometryOptions } from './Geometry';
3
3
  import type { IGPUResource, IGPURenderer } from './IGPURenderer';
4
4
  import type { GPURenderer } from './Renderer';
5
- import type { mat4 } from './type';
6
5
  import type { DestroyOptions } from './constants';
7
6
  interface MeshOptionsBase {
8
7
  material: Material | MaterialOptions;
9
8
  name?: string;
10
- worldMatrix?: mat4 | Float32Array;
11
9
  priority?: number;
12
10
  }
13
11
  export interface GeometryMeshOptions extends MeshOptionsBase {
@@ -28,7 +26,6 @@ export declare class Mesh implements IGPUResource {
28
26
  readonly geometries: Geometry[];
29
27
  readonly geometry?: Geometry;
30
28
  readonly material: Material;
31
- worldMatrix: mat4 | Float32Array;
32
29
  hide: boolean;
33
30
  priority: number;
34
31
  constructor(options: MeshOptions, renderer?: IGPURenderer);
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@predy-js/render-interface",
3
- "version": "0.1.19",
3
+ "version": "0.1.21",
4
4
  "license": "MIT",
5
5
  "module": "./dist/index.mjs",
6
6
  "main": "./dist/index.js",