16 lines
286 B
C++
16 lines
286 B
C++
#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;
|
|
};
|