Start working on world (domination)

This commit is contained in:
Godzil
2020-02-18 17:31:21 +00:00
parent ddaefafa1a
commit 60d639f3a7
7 changed files with 411 additions and 1 deletions

33
source/include/world.h Normal file
View File

@@ -0,0 +1,33 @@
/*
* DoRayMe - a quick and dirty Raytracer
* World header
*
* Created by Manoël Trapier
* Copyright (c) 2020 986-Studio.
*
*/
#ifndef DORAYME_WORLD_H
#define DORAYME_WORLD_H
#include <stdint.h>
#include <light.h>
#include <shape.h>
class World
{
public:
uint32_t objectCount;
uint32_t lightCount;
private:
uint32_t allocatedObjectCount;
uint32_t allocatedLightCount;
Light *lightList;
Shape *shapeList;
public:
World() : objectCount(0), lightCount(0) { };
};
#endif //DORAYME_WORLD_H