瀏覽代碼

Removing unused functions

Ibraheem Osama 7 年之前
父節點
當前提交
d5aa8a9704
共有 1 個文件被更改,包括 0 次插入3 次删除
  1. 0 3
      src/Rendering/babylon.boundingBoxRenderer.ts

+ 0 - 3
src/Rendering/babylon.boundingBoxRenderer.ts

@@ -125,16 +125,13 @@
                 .multiply(Matrix.Translation(median.x, median.y, median.z))
                 .multiply(boundingBox.getWorldMatrix());
 
-            // VBOs
             engine.bindBuffers(this._vertexBuffers, this._indexBuffer, <Effect>this._colorShader.getEffect());
 
             // Front
             engine.setDepthFunctionToLess();
             this._scene.resetCachedMaterial();
-            this._colorShader.setColor4("color", this.frontColor.toColor4());
             this._colorShader.bind(worldMatrix);
 
-            // Draw order
             engine.drawElementsType(Material.LineListDrawMode, 0, 24);
 
             this._colorShader.unbind();