load map/obj
This commit is contained in:
parent
6b454d46ad
commit
8383fc1edf
18 changed files with 305 additions and 43 deletions
20
src/object/plane.h
Normal file
20
src/object/plane.h
Normal file
|
@ -0,0 +1,20 @@
|
|||
#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;
|
||||
};
|
Loading…
Add table
Add a link
Reference in a new issue