1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21
#pragma once #include "../Utilities/StaticInitiator.h" #include "UIMesh.h" class UILine : public UIMesh { public: UILine(Vector2f from, Vector2f to) { m_From = from; m_To = to; } void Draw() override; private: Vector2f m_From; Vector2f m_To; };