laymur 0.8.1 → 0.9.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.
- package/dist/index.js +3 -7
- package/dist/index.js.map +1 -1
- package/dist/index.min.js +1 -1
- package/dist/index.min.js.map +1 -1
- package/dist/layers/UIFullscreenLayer.d.ts +3 -2
- package/package.json +1 -1
|
@@ -1,4 +1,5 @@
|
|
|
1
|
-
import { Vector2
|
|
1
|
+
import type { Vector2 } from "three";
|
|
2
|
+
import { Vector3, type Camera, type WebGLRenderer } from "three";
|
|
2
3
|
import { UIMode } from "../miscellaneous/UIMode";
|
|
3
4
|
import type { UIResizePolicy } from "../miscellaneous/UIResizePolicy";
|
|
4
5
|
import { UILayer } from "./UILayer";
|
|
@@ -43,7 +44,7 @@ export declare class UIFullscreenLayer extends UILayer {
|
|
|
43
44
|
* @param camera - Camera for projection
|
|
44
45
|
* @returns 2D position in layer space
|
|
45
46
|
*/
|
|
46
|
-
projectWorldPosition(position: Vector3, camera: Camera):
|
|
47
|
+
projectWorldPosition(position: Vector3, camera: Camera): Vector3;
|
|
47
48
|
/**
|
|
48
49
|
* Projects 2D layer position to 3D world coordinates.
|
|
49
50
|
*
|