layout make lines non-fixed

This commit is contained in:
2017-06-20 01:32:18 -04:00
parent cddbdb940f
commit fb1ff58f07
4 changed files with 40 additions and 15 deletions

15
Source/LampshadeLine.h Normal file
View File

@@ -0,0 +1,15 @@
#pragma once
class LampshadeLine {
public:
LampshadeLine(bool orientation, float x, float y) : orientation(orientation), x(x), y(y)
{
}
bool orientation;
float x;
float y;
const static bool Horizontal = 0;
const static bool Vertical = 1;
};