mirror of
https://github.com/photonstorm/phaser
synced 2025-02-17 06:28:30 +00:00
More docs.
This commit is contained in:
parent
0b070822d3
commit
8603374316
1 changed files with 7 additions and 1 deletions
|
@ -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 ]
|
||||
]
|
||||
|
|
Loading…
Add table
Reference in a new issue