@predy-js/editor-gizmo
Advanced tools
Comparing version 0.1.25-beta.13 to 0.1.25-beta.14
@@ -13,3 +13,3 @@ /// <reference types="hammerjs" /> | ||
transformData: Transform; | ||
itemTransformData: Transform; | ||
deltaTransformData: Transform; | ||
selectedId: number; | ||
@@ -24,6 +24,7 @@ prevMousePos: vec2; | ||
get isTranslating(): boolean; | ||
get base(): number; | ||
onConstructed(options: any): void; | ||
update(): void; | ||
onPress(e: HammerInput, gs: GizmoSystem): void; | ||
onPanStart(e: HammerInput): void; | ||
onPanStart(e: HammerInput, gs: GizmoSystem): void; | ||
onPanMove(e: HammerInput): void; | ||
@@ -33,4 +34,2 @@ onPanEnd(e: HammerInput, gs: GizmoSystem): void; | ||
generateBoundingBox(): number[][]; | ||
createRayWorld(x: number, y: number): vec3; | ||
createRayToPlane(rayWorld: vec3, objPos: vec3, planeNormal?: vec3): vec3; | ||
addMeshesBezier(bezierCurve: BezierPathValue): void; | ||
@@ -37,0 +36,0 @@ addMeshesGizmo(data: TransformGizmoData): void; |
@@ -16,1 +16,2 @@ import { vec3, mat4 } from "@predy-js/render-interface"; | ||
export declare function generateTorusBoundingBoxes(R: number, r: number, plane?: string, step?: number): number[]; | ||
export declare function generateBoundingBoxGizmo(gizmoTranslationSize: number, gizmoRotationSize: number, gizmoRotationRingSize: number, hasZAxis: boolean): number[][]; |
@@ -5,2 +5,4 @@ import { vec3, vec4, mat4, Ray, Camera } from '@predy-js/player'; | ||
export declare function generateCamera(cameraParams: CameraParams): Camera; | ||
export declare function createRayWorld(x: number, y: number, cp: CameraParams): vec3; | ||
export declare function createRayToPlane(rayWorld: vec3, objPos: vec3, cp: CameraParams, planeNormal?: vec3): vec3; | ||
export declare function findFirstIntersection(boxes: number[][], ray: Ray, transformMatrix: mat4): number; | ||
@@ -7,0 +9,0 @@ export declare function getVectorLength(vec: number[]): number; |
{ | ||
"name": "@predy-js/editor-gizmo", | ||
"version": "0.1.25-beta.13", | ||
"version": "0.1.25-beta.14", | ||
"description": "gizmo", | ||
@@ -5,0 +5,0 @@ "main": "dist/index.js", |
Sorry, the diff of this file is too big to display
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
200195
4932