Searched refs:vec2 (Results 1 – 5 of 5) sorted by relevance
109 private float getAngleBetweenVectors(PointF vec1, PointF vec2) { in getAngleBetweenVectors() argument110 return (float) Math.acos(((vec1.x * vec2.x) + (vec1.y * vec2.y)) / in getAngleBetweenVectors()111 (vec1.length() * vec2.length())); in getAngleBetweenVectors()
166 android::vec2 leftTop = {-0.5f, 0.5f}; in drawFrame()167 android::vec2 rightTop = {0.5f, 0.5f}; in drawFrame()168 android::vec2 leftBottom = {-0.5f, -0.5f}; in drawFrame()169 android::vec2 rightBottom = {0.5f, -0.5f}; in drawFrame()
7 varying vec2 vTextureCoord;29 sampledColor = texture2D(sTexture, vTextureCoord + vec2(0.0, y / uResolution.y));
7 varying vec2 vTextureCoord;29 sampledColor = texture2D(sTexture, vTextureCoord + vec2(x / uResolution.x, 0.0));
5 varying vec2 vTextureCoord;