viral-viewer-2 7.7.2 → 7.7.4
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/dist/{batched-mesh-simplifier-C3WaYCh8.mjs → batched-mesh-simplifier-BU-xC1cm.mjs} +1 -1
- package/dist/components/editor/block/profile-edit-tool.d.ts +3 -0
- package/dist/components/editor/placement/area-placement-tool.d.ts +0 -1
- package/dist/components/editor/placement/line-placement-tool.d.ts +0 -1
- package/dist/components/editor/placement/point-placement-tool.d.ts +0 -1
- package/dist/components/editor/viral-editor.d.ts +0 -3
- package/dist/entities/event.d.ts +7 -1
- package/dist/{index-CoyX5tWO.mjs → index-C-_hdJhc.mjs} +8203 -8200
- package/dist/index.mjs +1 -1
- package/package.json +1 -1
- package/dist/components/editor/placement/snap-utils.d.ts +0 -4
- package/dist/components/editor/snapping/editor-snap.d.ts +0 -11
package/dist/index.mjs
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { f as r, t as i, C as s, n as l, v as n, D as t, u as o, E as V, J as d, F as u, G as M, H as c, aa as g, L as p, a9 as E, a0 as m, _ as v, $ as y, T as S, o as h, w as C, x as b, b as D, y as P, V as T, c as L, z as R, q as B, N as f, A as H, a2 as x, I as k, a3 as w, Y as A, W as G, K as N, r as U, ab as F, O as K, P as z, Q as I, a1 as W, M as j, p as q, a4 as J, a5 as O, m as Q, a6 as X, R as Y, S as Z, U as _, a7 as $, X as aa, a8 as ea, ac as ra, e as ia, d as sa, Z as la, k as na, j as ta, g as oa, s as Va, i as da, h as ua, l as Ma } from "./index-
|
|
1
|
+
import { f as r, t as i, C as s, n as l, v as n, D as t, u as o, E as V, J as d, F as u, G as M, H as c, aa as g, L as p, a9 as E, a0 as m, _ as v, $ as y, T as S, o as h, w as C, x as b, b as D, y as P, V as T, c as L, z as R, q as B, N as f, A as H, a2 as x, I as k, a3 as w, Y as A, W as G, K as N, r as U, ab as F, O as K, P as z, Q as I, a1 as W, M as j, p as q, a4 as J, a5 as O, m as Q, a6 as X, R as Y, S as Z, U as _, a7 as $, X as aa, a8 as ea, ac as ra, e as ia, d as sa, Z as la, k as na, j as ta, g as oa, s as Va, i as da, h as ua, l as Ma } from "./index-C-_hdJhc.mjs";
|
|
2
2
|
export {
|
|
3
3
|
r as BufferElement,
|
|
4
4
|
i as CheckClashResult,
|
package/package.json
CHANGED
|
@@ -1,4 +0,0 @@
|
|
|
1
|
-
import { Vector3 } from "three";
|
|
2
|
-
import type { Mesh } from "three";
|
|
3
|
-
import type { ViralViewerApi } from "../../../viral-viewer-api";
|
|
4
|
-
export declare function applyPlacementSnap(point: Vector3, gridSize: number, viralViewerApi: ViralViewerApi, terrainMesh?: Mesh | null): void;
|
|
@@ -1,11 +0,0 @@
|
|
|
1
|
-
import { Object3D } from "three";
|
|
2
|
-
/**
|
|
3
|
-
* Snap object X/Z to the nearest grid intersection.
|
|
4
|
-
* Does NOT snap Y (Y is handled by floor snap).
|
|
5
|
-
*/
|
|
6
|
-
export declare function applyGridSnap(object3D: Object3D, gridSize: number): void;
|
|
7
|
-
/**
|
|
8
|
-
* Snap rotation components to the nearest angle increment.
|
|
9
|
-
* @param snapAngle - Snap angle in degrees (e.g. 15)
|
|
10
|
-
*/
|
|
11
|
-
export declare function applyRotationSnap(object3D: Object3D, snapAngle: number): void;
|