| // SPDX-License-Identifier: LGPL-2.1-or-later | |
| 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 | |