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

23 lines
417 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();
uint8_t getR();
uint8_t getG();
uint8_t getB();
uint8_t getA();
uint8_t getL();
2025-10-10 10:21:36 +02:00
uint8_t getZ();
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;
};