mirror of
https://github.com/UpsilonNumworks/Upsilon.git
synced 2026-01-19 00:37:25 +01:00
22 lines
330 B
C++
22 lines
330 B
C++
#ifndef SHARED_CURVE_VIEW_CURSOR_H
|
|
#define SHARED_CURVE_VIEW_CURSOR_H
|
|
|
|
namespace Shared {
|
|
|
|
class CurveViewCursor {
|
|
public:
|
|
CurveViewCursor();
|
|
float x();
|
|
float y();
|
|
void moveTo(float x, float y);
|
|
static float clipped(float f);
|
|
private:
|
|
constexpr static float k_maxFloat = 1E+8f;
|
|
float m_x;
|
|
float m_y;
|
|
};
|
|
|
|
}
|
|
|
|
#endif
|