Lines Matching refs:vec2
1026 Mesh::VertexArray<vec2> texCoords(mMesh.getTexCoordArray<vec2>());
1027 texCoords[0] = vec2(left, 1.0f - top);
1028 texCoords[1] = vec2(left, 1.0f - bottom);
1029 texCoords[2] = vec2(right, 1.0f - bottom);
1030 texCoords[3] = vec2(right, 1.0f - top);
1151 static void boundPoint(vec2* point, const Rect& crop) {
1179 vec2 lt = vec2(win.left, win.top);
1180 vec2 lb = vec2(win.left, win.bottom);
1181 vec2 rb = vec2(win.right, win.bottom);
1182 vec2 rt = vec2(win.right, win.top);
1198 Mesh::VertexArray<vec2> position(mesh.getPositionArray<vec2>());