3d-render/src/object/plane.h
2025-10-10 15:32:57 +02:00

17 lines
332 B
C++

#pragma once
#include <cstdint>
#include <string>
#include <vector>
#include "point.h"
class Plane {
public:
Plane(std::string& txt);
std::vector<Point*> getPoints();
uint64_t getColor();
friend std::ostream & operator<<(std::ostream& os, Plane& p);
private:
std::vector<Point*> pts;
uint64_t* color;
};