More docs.

This commit is contained in:
Richard Davey 2016-11-03 02:07:15 +00:00
parent 0b070822d3
commit 8603374316

View file

@ -523,12 +523,18 @@ Phaser.Renderer.WebGL.prototype = {
ibo: gl.createBuffer(),
verticesTextureBuffer: gl.createBuffer(),
indices: [ 0, 1, 2, 2, 1, 3 ],
vertices: [
_vertices: [
-1.0, -1.0,//0
1.0, -1.0, //1
-1.0, 1.0, //2
1.0, 1.0 //3
],
vertices: [
-1.0, -1.0, // 0 = bottom-left
1.0, -1.0, // 1 = bottom-right
-1.0, 1.0, // 2 = top-left
1.0, 1.0 // 3 = top-right
],
uvs: [
[ 0.0, 0.0, 1.0, 0.0, 0.0, 1.0, 1.0, 1.0 ]
]