소스 검색

fix for js

ncannasse 8 년 전
부모
커밋
73aa17f7ba
1개의 변경된 파일3개의 추가작업 그리고 3개의 파일을 삭제
  1. 3 3
      h3d/prim/BigPrimitive.hx

+ 3 - 3
h3d/prim/BigPrimitive.hx

@@ -13,9 +13,9 @@ class BigPrimitive extends Primitive {
 	var tmpBuf : hxd.FloatBuffer;
 	var tmpIdx : hxd.IndexBuffer;
 	var bounds : h3d.col.Bounds;
-	var bufPos : Int;
-	var idxPos : Int;
-	var startIndex : Int;
+	var bufPos : Int = 0;
+	var idxPos : Int = 0;
+	var startIndex : Int = 0;
 	var flushing : Bool;
 	#if debug
 	var allocPos : h3d.impl.AllocPos;