3d-render/src/object/plane.h
2025-10-10 10:21:36 +02:00

22 lines
417 B
C++

#pragma once
#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();
uint8_t getZ();
friend std::ostream & operator<<(std::ostream& os, Plane& p);
private:
std::vector<Point*> pts;
uint64_t* color;
};