message: Use draw_wireframe from library header
diff: #include "eos/morphablemodel/Blendshape.hpp"
  #include "eos/fitting/fitting.hpp"
  #include "eos/render/texture_extraction.hpp"
  +#include "eos/render/draw_utils.hpp"
  #include "Eigen/Core"
  @@ -103,34 +104,6 @@ LandmarkCollection<Eigen::Vector2f> read_pts_landmarks(std::string filename)
  return landmarks;
  };
  -/**
  - * Draws the given mesh as wireframe into the image.
  - *
  - * It does backface culling, i.e. draws only vertices in CCW order.
  - *
  - * @param[in] image An image to draw into.
  - * @param[in] mesh The mesh to draw.
  - * @param[in] modelview Model-view matrix to draw the mesh.
  - * @param[in] projection Projection matrix to draw the mesh.
  - * @param[in] viewport Viewport to draw the mesh.
  - * @param[in] colour Colour of the mesh to be drawn.
  - */
  -void draw_wireframe(cv::Mat image, const core::Mesh& mesh, glm::mat4x4 modelview, glm::mat4x4 projection, glm::vec4 viewport, cv::Scalar colour = cv::Scalar(0, 255, 0, 255))
  -{
  - for (const auto& triangle : mesh.tvi)
  - {
  - const auto p1 = glm::project({ mesh.vertices[triangle[0]][0], mesh.vertices[triangle[0]][1], mesh.vertices[triangle[0]][2] }, modelview, projection, viewport);
  - const auto p2 = glm::project({ mesh.vertices[triangle[1]][0], mesh.vertices[triangle[1]][1], mesh.vertices[triangle[1]][2] }, modelview, projection, viewport);
  - const auto p3 = glm::project({ mesh.vertices[triangle[2]][0], mesh.vertices[triangle[2]][1], mesh.vertices[triangle[2]][2] }, modelview, projection, viewport);
  - if (render::detail::are_vertices_ccw_in_screen_space(glm::vec2(p1), glm::vec2(p2), glm::vec2(p3)))
  - {
  - cv::line(image, cv::Point(p1.x, p1.y), cv::Point(p2.x, p2.y), colour);
  - cv::line(image, cv::Point(p2.x, p2.y), cv::Point(p3.x, p3.y), colour);
  - cv::line(image, cv::Point(p3.x, p3.y), cv::Point(p1.x, p1.y), colour);
  - }
  - }
  -};
  -
  /**
  * This app demonstrates estimation of the camera and fitting of the shape
  * model of a 3D Morphable Model from an ibug LFPW image with its landmarks.
  @@ -239,7 +212,7 @@ int main(int argc, char *argv[])
  Mat isomap_from_Image = core::to_mat(isomap);
  // Draw the fitted mesh as wireframe, and save the image:
  - draw_wireframe(outimg, mesh, rendering_params.get_modelview(), rendering_params.get_projection(), fitting::get_opencv_viewport(image.cols, image.rows));
  + render::draw_wireframe(outimg, mesh, rendering_params.get_modelview(), rendering_params.get_projection(), fitting::get_opencv_viewport(image.cols, image.rows));
  fs::path outputfile = outputbasename + ".png";
  cv::imwrite(outputfile.string(), outimg);
  