Browse Source

fixed quads reported triCount()

ncannasse 6 years ago
parent
commit
7796f6bdb5
1 changed files with 1 additions and 1 deletions
  1. 1 1
      h3d/prim/Quads.hx

+ 1 - 1
h3d/prim/Quads.hx

@@ -24,7 +24,7 @@ class Quads extends Primitive {
 	}
 
 	override function triCount() {
-		return pts.length * 2;
+		return pts.length >> 1;
 	}
 
 	override function vertexCount() {