21 lines
380 B
C
21 lines
380 B
C
|
#include <cstdint>
|
||
|
#include <string>
|
||
|
#include <vector>
|
||
|
|
||
|
#include "point.h"
|
||
|
|
||
|
class Plane {
|
||
|
public:
|
||
|
Plane(std::string& txt);
|
||
|
std::vector<Point*> getPoints();
|
||
|
uint8_t getR();
|
||
|
uint8_t getG();
|
||
|
uint8_t getB();
|
||
|
uint8_t getA();
|
||
|
uint8_t getL();
|
||
|
friend std::ostream & operator<<(std::ostream& os, Plane& p);
|
||
|
private:
|
||
|
std::vector<Point*> pts;
|
||
|
uint64_t* color;
|
||
|
};
|