dust3d/application/sources/monochrome_mesh.h

21 lines
528 B
C
Raw Normal View History

2022-09-23 15:54:49 +00:00
#ifndef DUST3D_APPLICATION_MONOCHROME_MESH_H_
#define DUST3D_APPLICATION_MONOCHROME_MESH_H_
#include "monochrome_opengl_vertex.h"
#include <dust3d/base/object.h>
#include <memory>
2022-09-23 15:54:49 +00:00
class MonochromeMesh {
2022-09-23 15:54:49 +00:00
public:
MonochromeMesh(const MonochromeMesh& mesh);
MonochromeMesh(MonochromeMesh&& mesh);
MonochromeMesh(const dust3d::Object& object);
const MonochromeOpenGLVertex* lineVertices();
2022-09-23 15:54:49 +00:00
int lineVertexCount();
2022-09-23 15:54:49 +00:00
private:
std::vector<MonochromeOpenGLVertex> m_lineVertices;
};
#endif