浏览代码

removed interface

Royi Bernthal 7 年之前
父节点
当前提交
ac7520920b
共有 2 个文件被更改,包括 1 次插入8 次删除
  1. 1 1
      gui/src/controls/multiLine.ts
  2. 0 7
      gui/src/multiLinePoint.ts

+ 1 - 1
gui/src/controls/multiLine.ts

@@ -49,7 +49,7 @@ module BABYLON.GUI {
             this._markAsDirty();
             this._markAsDirty();
         }
         }
 
 
-        add(...items: (AbstractMesh | Control | IValueAndUnitVector2)[]): void {
+        add(...items: (AbstractMesh | Control | { x: string | number, y: string | number })[]): void {
             items.forEach(item => {
             items.forEach(item => {
                 var point: MultiLinePoint = this.push();
                 var point: MultiLinePoint = this.push();
 
 

+ 0 - 7
gui/src/multiLinePoint.ts

@@ -129,11 +129,4 @@ module BABYLON.GUI {
 
 
     }
     }
 
 
-    export interface IValueAndUnitVector2 {
-
-        x: string | number;
-        y: string | number;
-
-    }
-
 }
 }