all: renamed to pete

This commit is contained in:
2017-06-27 01:02:19 -04:00
parent 98a549dfe6
commit 34bc40f472
9 changed files with 71 additions and 128 deletions

16
Source/PeteLine.h Normal file
View File

@@ -0,0 +1,16 @@
#pragma once
class PeteLine {
public:
PeteLine(bool orientation, float x, float y, float len) : orientation(orientation), x(x), y(y), len(len) {}
PeteLine(bool orientation, float x, float y) : orientation(orientation), x(x), y(y), len(1.) {}
PeteLine(bool orientation, float xy) : orientation(orientation), x(xy), y(xy), len(1.) {}
bool orientation;
float x;
float y;
float len;
const static bool Horizontal = 0;
const static bool Vertical = 1;
};