3d-render/src/object/plane.h

18 lines
332 B
C
Raw Normal View History

2025-10-10 10:21:36 +02:00
#pragma once
2025-10-09 21:33:37 +02:00
#include <cstdint>
#include <string>
#include <vector>
#include "point.h"
class Plane {
public:
Plane(std::string& txt);
std::vector<Point*> getPoints();
2025-10-10 15:32:57 +02:00
uint64_t getColor();
2025-10-09 21:33:37 +02:00
friend std::ostream & operator<<(std::ostream& os, Plane& p);
private:
std::vector<Point*> pts;
uint64_t* color;
};