Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

@predy-js/editor-gizmo

Package Overview
Dependencies
Maintainers
2
Versions
459
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@predy-js/editor-gizmo - npm Package Compare versions

Comparing version 0.1.25-beta.13 to 0.1.25-beta.14

7

dist/src/EditorGizmoItem.d.ts

@@ -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

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc