@hatiolab/things-scene 10.1.62 → 10.1.64
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-types/figure/figure-geometry.d.ts +1 -1
- package/dist-types/figure/figure-geometry.d.ts.map +1 -1
- package/dist-types/figure/figure-part-component.d.ts +4 -5
- package/dist-types/figure/figure-part-component.d.ts.map +1 -1
- package/dist-types/figure/figure-shape-mesh.d.ts +57 -0
- package/dist-types/figure/figure-shape-mesh.d.ts.map +1 -0
- package/dist-types/figure/figure-top-view.d.ts.map +1 -1
- package/dist-types/figure/index.d.ts +1 -1
- package/dist-types/figure/index.d.ts.map +1 -1
- package/package.json +3 -3
- package/things-scene-min.js +11 -11
- package/things-scene-min.js.map +1 -1
- package/things-scene.mjs +3 -3
- package/things-scene.mjs.map +1 -1
- package/dist-types/figure/figure-shape.d.ts +0 -18
- package/dist-types/figure/figure-shape.d.ts.map +0 -1
|
@@ -1,18 +0,0 @@
|
|
|
1
|
-
import * as THREE from 'three';
|
|
2
|
-
/**
|
|
3
|
-
* 단면을 세워서 민다.
|
|
4
|
-
*
|
|
5
|
-
* `rotateX(+90°)` 는 (x, y, zz) → (x, −zz, y) 이므로 단면의 y 가 world z 로 가고
|
|
6
|
-
* (평면도가 맞다), 밀린 두께는 −Y 로 간다 — 즉 [−depth, 0] 에 놓인다.
|
|
7
|
-
*
|
|
8
|
-
* `lift` 는 그것을 어디로 올릴지다. 통짜는 반만 올려 가운데를 맞추고, 속을 판 것은
|
|
9
|
-
* 바닥과 벽을 따로 올려 포갠다.
|
|
10
|
-
*/
|
|
11
|
-
export declare function pushed(shape: THREE.Shape, depth: number, lift: number): THREE.BufferGeometry;
|
|
12
|
-
/**
|
|
13
|
-
* A rounded rectangle whose corners have two semi-axes (`rounded-box@2`, shape-dimension contract §1): each
|
|
14
|
-
* corner is the quadratic Bézier from the end of one edge to the start of the next with the corner as control
|
|
15
|
-
* point, `roundX` along X and `roundZ` along Z.
|
|
16
|
-
*/
|
|
17
|
-
export declare function roundedRectXZ(width: number, depth: number, roundX: number, roundZ: number): THREE.Shape | null;
|
|
18
|
-
//# sourceMappingURL=figure-shape.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"figure-shape.d.ts","sourceRoot":"","sources":["../../src/figure/figure-shape.ts"],"names":[],"mappings":"AAOA,OAAO,KAAK,KAAK,MAAM,OAAO,CAAA;AAI9B;;;;;;;;GAQG;AACH,wBAAgB,MAAM,CAAC,KAAK,EAAE,KAAK,CAAC,KAAK,EAAE,KAAK,EAAE,MAAM,EAAE,IAAI,EAAE,MAAM,GAAG,KAAK,CAAC,cAAc,CAK5F;AAED;;;;GAIG;AACH,wBAAgB,aAAa,CAAC,KAAK,EAAE,MAAM,EAAE,KAAK,EAAE,MAAM,EAAE,MAAM,EAAE,MAAM,EAAE,MAAM,EAAE,MAAM,GAAG,KAAK,CAAC,KAAK,GAAG,IAAI,CA0B9G"}
|