public static void PlaceTextureOnFaces(this Mesh mesh, int face, ImageBuffer textureToUse) { //// planer project along the normal of this face var faces = mesh.GetCoplanerFaces(face); mesh.PlaceTextureOnFaces(faces, textureToUse, mesh.GetMaxPlaneProjection(faces, textureToUse)); }
public static void PlaceTextureOnFace(this Mesh mesh, int face, ImageBuffer textureToUse) { //// planar project along the normal of this face mesh.PlaceTextureOnFace(face, textureToUse, mesh.GetMaxPlaneProjection(face, textureToUse)); }