Commit 89356c24 authored by Patrik Huber's avatar Patrik Huber

Renamed Vertex texcrd to texcoords

parent 1375f2ad
...@@ -36,16 +36,19 @@ namespace eos { ...@@ -36,16 +36,19 @@ namespace eos {
* Just a representation for a vertex during rendering. * Just a representation for a vertex during rendering.
* *
* Might consider getting rid of it. * Might consider getting rid of it.
* Used in render_affine and render.
*/ */
class Vertex class Vertex
{ {
public: public:
Vertex() {}; Vertex() {};
Vertex(const cv::Vec4f& position, const cv::Vec3f& color, const cv::Vec2f& texCoord) : position(position), color(color), texcrd(texCoord) {}; Vertex(const cv::Vec4f& position, const cv::Vec3f& color, const cv::Vec2f& texcoords) : position(position), color(color), texcoords(texcoords) {};
cv::Vec4f position; cv::Vec4f position;
cv::Vec3f color; cv::Vec3f color; ///< in RGB order
cv::Vec2f texcrd; cv::Vec2f texcoords;
};
class plane class plane
{ {
public: public:
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment