@galacean/effects-plugin-editor-gizmo 2.0.0-alpha.9 → 2.0.0-beta.0

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.
@@ -1,12 +1,12 @@
1
1
  import type { Geometry, GeometryDrawMode, Engine, spec } from '@galacean/effects';
2
- import { GLGeometry, Mesh } from '@galacean/effects';
2
+ import { GLGeometry, Material, Mesh } from '@galacean/effects';
3
3
  export declare function createParticleWireframe(engine: Engine, mesh: Mesh, color: spec.vec3): Mesh;
4
4
  export declare enum WireframeGeometryType {
5
5
  triangle = 0,
6
6
  quad = 1
7
7
  }
8
8
  export declare function destroyWireframeMesh(mesh: Mesh): void;
9
- export declare function updateWireframeMesh(originMesh: Mesh, wireframe: Mesh, type: WireframeGeometryType): Mesh;
9
+ export declare function updateWireframeMesh(originGeometry: Geometry, originMaterial: Material, wireframe: Mesh, type: WireframeGeometryType): Mesh;
10
10
  export declare function createModeWireframe(engine: Engine, mesh: Mesh, color: spec.vec3): Mesh;
11
11
  export interface SharedGeometryOptions {
12
12
  name?: string;
package/package.json CHANGED
@@ -1,10 +1,10 @@
1
1
  {
2
2
  "name": "@galacean/effects-plugin-editor-gizmo",
3
- "version": "2.0.0-alpha.9",
3
+ "version": "2.0.0-beta.0",
4
4
  "description": "Galacean Effects player editor gizmo plugin",
5
5
  "module": "./dist/index.mjs",
6
6
  "main": "./dist/index.js",
7
- "brower": "./dist/index.min.js",
7
+ "browser": "./dist/index.min.js",
8
8
  "types": "./dist/index.d.ts",
9
9
  "files": [
10
10
  "dist"
@@ -31,8 +31,8 @@
31
31
  "registry": "https://registry.npmjs.org"
32
32
  },
33
33
  "devDependencies": {
34
- "@galacean/effects": "2.0.0-alpha.9",
35
- "@galacean/effects-plugin-model": "2.0.0-alpha.9"
34
+ "@galacean/effects": "2.0.0-beta.0",
35
+ "@galacean/effects-plugin-model": "2.0.0-beta.0"
36
36
  },
37
37
  "scripts": {
38
38
  "dev": "vite",
@@ -40,6 +40,6 @@
40
40
  "build": "pnpm build:declaration && pnpm build:module",
41
41
  "build:module": "rollup -c",
42
42
  "build:declaration": "tsc -d --emitDeclarationOnly",
43
- "clean": "rimraf dist && rimraf '*+(.tsbuildinfo)'"
43
+ "clean": "rimraf dist && rimraf \"*+(.tsbuildinfo)\""
44
44
  }
45
45
  }