Browse Source

Remove useless new indexbuffer

clementlandrin 2 tháng trước cách đây
mục cha
commit
f25a1b99fd
1 tập tin đã thay đổi với 0 bổ sung1 xóa
  1. 0 1
      h3d/col/Polygon.hx

+ 0 - 1
h3d/col/Polygon.hx

@@ -337,7 +337,6 @@ class Polygon extends Collider {
 	#if !macro
 	public function makeDebugObj() : h3d.scene.Object {
 		var points : Array<Point> = [];
-		var idx = new hxd.IndexBuffer();
 
 		var t = triPlanes;
 		while( t != null ) {