From ced8c631c182d7f70ef30bb270d1d45672f2029e Mon Sep 17 00:00:00 2001 From: Kevin Levron Date: Thu, 6 May 2021 21:28:06 +0200 Subject: [PATCH] width/height for vector2 prop --- src/core/Object3D.ts | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/core/Object3D.ts b/src/core/Object3D.ts index 8b636a5..c338755 100644 --- a/src/core/Object3D.ts +++ b/src/core/Object3D.ts @@ -29,6 +29,8 @@ export interface Object3DPublicInterface extends ComponentPublicInstance, Object export interface Vector2PropInterface { x?: number y?: number + width?: number + height?: number } export interface Vector3PropInterface extends Vector2PropInterface {