3D Editor treaks
This commit is contained in:
parent
8d167b960a
commit
573541ba2d
27 changed files with 254 additions and 124 deletions
|
|
@ -30,14 +30,6 @@ namespace tp {
|
|||
void render(const Scene& scene, OutputBuffers& out, const RenderSettings& settings);
|
||||
|
||||
private:
|
||||
struct RayCastData {
|
||||
const Object* obj = nullptr;
|
||||
TrigCache* trig = nullptr;
|
||||
Vec3F hitPos = { 0, 0, 0 };
|
||||
bool hit = false;
|
||||
bool inv = false;
|
||||
};
|
||||
|
||||
struct LightData {
|
||||
halnf intensity = 0;
|
||||
};
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue