Kaynağa Gözat

Removed previously added BBox SetWorldMatrix, no more needed

jbousquie 10 yıl önce
ebeveyn
işleme
766e850914
1 değiştirilmiş dosya ile 1 ekleme ve 6 silme
  1. 1 6
      src/Culling/babylon.boundingBox.ts

+ 1 - 6
src/Culling/babylon.boundingBox.ts

@@ -53,11 +53,6 @@
             return this._worldMatrix;
         }
 
-        public setWorldMatrix(matrix: Matrix): BoundingBox {
-            this._worldMatrix.copyFrom(matrix);
-            return this;
-        }
-
         public _update(world: Matrix): void {
             Vector3.FromFloatsToRef(Number.MAX_VALUE, Number.MAX_VALUE, Number.MAX_VALUE, this.minimumWorld);
             Vector3.FromFloatsToRef(-Number.MAX_VALUE, -Number.MAX_VALUE, -Number.MAX_VALUE, this.maximumWorld);
@@ -180,4 +175,4 @@
             return true;
         }
     }
-}
+}