Revision 50642a86
Added by Leszek Koltunski about 7 years ago
src/main/res/raw/test_vertex_shader.glsl | ||
---|---|---|
19 | 19 |
|
20 | 20 |
precision lowp float; |
21 | 21 |
|
22 |
uniform vec2 u_objD; // object width X object height. |
|
23 |
// point (0,0) is the center of the object |
|
24 |
uniform mat4 u_MVPMatrix; // the combined model/view/projection matrix. |
|
25 |
attribute vec2 a_Position; // Per-vertex position information we will pass in. |
|
22 |
uniform vec2 u_objD; // object width X object height. |
|
23 |
uniform mat4 u_MVPMatrix; // the combined model/view/projection matrix. |
|
24 |
attribute vec2 a_Position; // Per-vertex position information we will pass in. |
|
26 | 25 |
|
27 | 26 |
////////////////////////////////////////////////////////////////////////////////////////////// |
28 | 27 |
|
Also available in: Unified diff
Simplify drawRecursive