-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
7 changed files
with
71 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,9 @@ | ||
#ifndef __CFG_CAMERA_HPP__ | ||
#define __CFG_CAMERA_HPP__ | ||
|
||
namespace RayTracer::Config | ||
{ | ||
class Camera {}; | ||
} // namespace RayTracer::Config | ||
|
||
#endif /* __CFG_CAMERA_HPP__ */ |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,9 @@ | ||
#ifndef __CFG_EFFECTS_HPP__ | ||
#define __CFG_EFFECTS_HPP__ | ||
|
||
namespace RayTracer::Config | ||
{ | ||
class Effects {}; | ||
} // namespace RayTracer::Config | ||
|
||
#endif /* __CFG_EFFECTS_HPP__ */ |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,17 @@ | ||
#include <libconfig.hh> | ||
|
||
#ifndef __CFG_MANAGER_HPP__ | ||
#define __CFG_MANAGER_HPP__ | ||
|
||
namespace RayTracer::Config | ||
{ | ||
class Manager { | ||
private: | ||
libconfig::Config config; | ||
|
||
public: | ||
void parse(std::string_view path); | ||
}; | ||
} // namespace RayTracer::Config | ||
|
||
#endif /* __CFG_MANAGER_HPP__ */ |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,9 @@ | ||
#ifndef __CFG_MATERIALS_HPP__ | ||
#define __CFG_MATERIALS_HPP__ | ||
|
||
namespace RayTracer::Config | ||
{ | ||
class Materials {}; | ||
} // namespace RayTracer::Config | ||
|
||
#endif /* __CFG_MATERIALS_HPP__ */ |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,9 @@ | ||
#ifndef __CFG_SCENE_HPP__ | ||
#define __CFG_SCENE_HPP__ | ||
|
||
namespace RayTracer::Config | ||
{ | ||
class Scene {}; | ||
} // namespace RayTracer::Config | ||
|
||
#endif /* __CFG_SCENE_HPP__ */ |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,9 @@ | ||
#ifndef __CFG_SHAPES_HPP__ | ||
#define __CFG_SHAPES_HPP__ | ||
|
||
namespace RayTracer::Config | ||
{ | ||
class Shapes {}; | ||
} // namespace RayTracer::Config | ||
|
||
#endif /* __CFG_SHAPES_HPP__ */ |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,9 @@ | ||
#ifndef __CFG_TEXTURES_HPP__ | ||
#define __CFG_TEXTURES_HPP__ | ||
|
||
namespace RayTracer::Config | ||
{ | ||
class Textures {}; | ||
} // namespace RayTracer::Config | ||
|
||
#endif /* __CFG_TEXTURES_HPP__ */ |