Searched refs:vec2 (Results 1 – 12 of 12) sorted by relevance
86 attribute vec2 pos; in CreateShader()101 vec4 texture2DGrad(sampler2D s, in vec2 uv, vec2 gx, vec2 gy) { return texture2D(s, uv); } in CreateShader()102 vec4 texture2DLod(sampler2D s, in vec2 uv, in float lod) { return texture2D(s, uv); } in CreateShader()103 void mainImage(out vec4 c, in vec2 f); in CreateShader()
151 protected double angleBetweenVecsDegrees(float[] vec1, float[] vec2) { in angleBetweenVecsDegrees() argument152 return Math.toDegrees(Math.acos((vec1[0] * vec2[0] + vec1[1] * vec2[1] + vec1[2] * vec2[2]) in angleBetweenVecsDegrees()153 / normVec(vec1) / normVec(vec2))); in angleBetweenVecsDegrees()
16 uniform vec2 u_Scale;17 varying vec2 v_TexCoordinate;33 vec2 coords = v_TexCoordinate.xy + ((float(i) - 5.0) * u_Scale);
16 varying vec2 v_TexCoordinate;
19 varying vec2 v_TexCoordinate;
20 varying vec2 v_TexCoordinate;
5 layout (location = 1) in vec2 attr;6 layout (location = 0) out vec2 texcoord;
5 layout (location = 0) in vec2 texcoord;
16 attribute vec2 a_TexCoordinate;17 varying vec2 v_TexCoordinate;
18 attribute vec2 a_TexCoordinate;20 varying vec2 v_TexCoordinate;
19 attribute vec2 a_TexCoordinate;22 varying vec2 v_TexCoordinate;