File size: 523 Bytes
985c397 | 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 | // SPDX-License-Identifier: LGPL-2.1-or-later
#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__
|