27 lines
514 B
C++
27 lines
514 B
C++
#pragma once
|
|
|
|
#include <stdint.h>
|
|
|
|
#include "datatypes.cpp"
|
|
#include "helpers.cpp"
|
|
|
|
namespace UwU {
|
|
class Triangle {
|
|
public:
|
|
Triangle(uint16_t x0, uint16_t y0, uint16_t x1, uint16_t y1, uint16_t x2, uint16_t y2) {
|
|
this->x0 = x0;
|
|
this->y0 = y0;
|
|
this->x1 = x1;
|
|
this->y1 = y1;
|
|
this->x2 = x2;
|
|
this->y2 = y2;
|
|
}
|
|
Triangle() {}
|
|
uint16_t x0;
|
|
uint16_t y0;
|
|
uint16_t x1;
|
|
uint16_t y1;
|
|
uint16_t x2;
|
|
uint16_t y2;
|
|
};
|
|
} |