Revision b187afac
Added by Leszek Koltunski over 4 years ago
src/main/java/org/distorted/library/mesh/AssociationUniformBlock.java | ||
---|---|---|
79 | 79 |
*/ |
80 | 80 |
public static void setAssociationSize(int size) |
81 | 81 |
{ |
82 |
mAssociationSize = size; |
|
82 |
if( size>0 ) mAssociationSize = size;
|
|
83 | 83 |
} |
84 | 84 |
|
85 | 85 |
/////////////////////////////////////////////////////////////////////////////////////////////////// |
src/main/res/raw/main_vertex_shader.glsl | ||
---|---|---|
140 | 140 |
v_Position = vec3(tmp1); |
141 | 141 |
v_endPosition = vec3(tmp1+100.0*tmp2); |
142 | 142 |
} |
143 |
else |
|
144 |
{ |
|
145 |
v_Position = v; |
|
146 |
} |
|
143 | 147 |
#endif |
144 | 148 |
|
145 | 149 |
v_TexCoordinate = a_TexCoordinate; |
Also available in: Unified diff
Bugfixes.