瀏覽代碼

Add comments to Quads.hx (#523)

Jean-Seb / jseb 6 年之前
父節點
當前提交
8f95320a74
共有 1 個文件被更改,包括 3 次插入0 次删除
  1. 3 0
      h3d/prim/Quads.hx

+ 3 - 0
h3d/prim/Quads.hx

@@ -7,6 +7,9 @@ class Quads extends Primitive {
 	var uvs : Array<UV>;
 	var normals : Array<Point>;
 
+	/**
+	* You have to pass vertices in this order: top left, top right, bottom left, bottom right
+	*/
 	public function new( pts, ?uvs, ?normals ) {
 		this.pts = pts;
 		this.uvs = uvs;