34 lines
476 B
C++
34 lines
476 B
C++
#ifndef __millpathline_h__
|
|
#define __millpathline_h__
|
|
#include <vector>
|
|
|
|
namespace MillSim
|
|
{
|
|
|
|
struct MillPathPosition
|
|
{
|
|
float X, Y, Z;
|
|
int SegmentId;
|
|
};
|
|
|
|
class MillPathLine
|
|
{
|
|
public:
|
|
MillPathLine();
|
|
void GenerateModel();
|
|
void Clear();
|
|
void Render();
|
|
|
|
public:
|
|
std::vector<MillPathPosition> MillPathPointsBuffer;
|
|
|
|
protected:
|
|
unsigned int mVbo;
|
|
unsigned int mVao;
|
|
int mNumVerts;
|
|
};
|
|
|
|
} // namespace MillSim
|
|
|
|
#endif // !__millpathline_h__
|