diff options
author | Julian T <julian@jtle.dk> | 2020-07-23 23:13:55 +0200 |
---|---|---|
committer | Julian T <julian@jtle.dk> | 2020-07-23 23:13:55 +0200 |
commit | 18960c4b88ce912e08b12182b835a7de75388b78 (patch) | |
tree | fd3994dc07a07298824521000bde1683461e5262 /src/object.hpp | |
parent | 13a7b10ab0efa82a24187cdfb2cf2a55691568f0 (diff) |
New project structure
Diffstat (limited to 'src/object.hpp')
-rw-r--r-- | src/object.hpp | 19 |
1 files changed, 19 insertions, 0 deletions
diff --git a/src/object.hpp b/src/object.hpp new file mode 100644 index 0000000..56c6968 --- /dev/null +++ b/src/object.hpp @@ -0,0 +1,19 @@ +#ifndef OBJECT_H +#define OBJECT_H + +#include <memory> +#include "vector.hpp" + +class Material { + Vec3d color; + + double defuse; + double emissive; +}; + +class Object { + public: + std::shared_ptr<Material> m; +}; + +#endif |