Lines Matching refs:vec2
1193 Mesh::VertexArray<vec2> texCoords(mMesh.getTexCoordArray<vec2>());
1194 texCoords[0] = vec2(left, 1.0f - top);
1195 texCoords[1] = vec2(left, 1.0f - bottom);
1196 texCoords[2] = vec2(right, 1.0f - bottom);
1197 texCoords[3] = vec2(right, 1.0f - top);
1365 static void boundPoint(vec2* point, const Rect& crop) {
1388 vec2 lt = vec2(win.left, win.top);
1389 vec2 lb = vec2(win.left, win.bottom);
1390 vec2 rb = vec2(win.right, win.bottom);
1391 vec2 rt = vec2(win.right, win.top);
1408 Mesh::VertexArray<vec2> position(mesh.getPositionArray<vec2>());