Lines Matching refs:vec2
570 Mesh::VertexArray<vec2> position(mesh.getPositionArray<vec2>()); in fillRegionWithColor()
719 Mesh::VertexArray<vec2> cropCoords(mesh.getCropCoordArray<vec2>()); in setupLayerCropping()
720 cropCoords[0] = vec2(cropWin.left, cropWin.top); in setupLayerCropping()
721 cropCoords[1] = vec2(cropWin.left, cropWin.top + cropWin.getHeight()); in setupLayerCropping()
722 cropCoords[2] = vec2(cropWin.right, cropWin.top + cropWin.getHeight()); in setupLayerCropping()
723 cropCoords[3] = vec2(cropWin.right, cropWin.top); in setupLayerCropping()
928 Mesh::VertexArray<vec2> position(mesh.getPositionArray<vec2>()); in drawLayers()
929 position[0] = vec2(bounds.left, bounds.top); in drawLayers()
930 position[1] = vec2(bounds.left, bounds.bottom); in drawLayers()
931 position[2] = vec2(bounds.right, bounds.bottom); in drawLayers()
932 position[3] = vec2(bounds.right, bounds.top); in drawLayers()
959 renderengine::Mesh::VertexArray<vec2> texCoords(mesh.getTexCoordArray<vec2>()); in drawLayers()
960 texCoords[0] = vec2(0.0, 0.0); in drawLayers()
961 texCoords[1] = vec2(0.0, 1.0); in drawLayers()
962 texCoords[2] = vec2(1.0, 1.0); in drawLayers()
963 texCoords[3] = vec2(1.0, 0.0); in drawLayers()