-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat : add initial class for scene objects
- Loading branch information
Showing
11 changed files
with
112 additions
and
18 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
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
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,14 @@ | ||
// Author : snowapril | ||
|
||
#ifndef VOX_FLOW_MATERIAL_HPP | ||
#define VOX_FLOW_MATERIAL_HPP | ||
|
||
namespace VoxFlow | ||
{ | ||
class Material | ||
{ | ||
public: | ||
}; | ||
} // namespace VoxFlow | ||
|
||
#endif // VOX_FLOW_MATERIAL_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,14 @@ | ||
// Author : snowapril | ||
|
||
#ifndef VOX_FLOW_PRIMITIVE_BUFFER_POOL_HPP | ||
#define VOX_FLOW_PRIMITIVE_BUFFER_POOL_HPP | ||
|
||
namespace VoxFlow | ||
{ | ||
class PrimitiveBufferPool | ||
{ | ||
public: | ||
}; | ||
} // namespace VoxFlow | ||
|
||
#endif // VOX_FLOW_PRIMITIVE_BUFFER_POOL_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,14 @@ | ||
// Author : snowapril | ||
|
||
#ifndef VOX_FLOW_SCENE_OBJECT_HPP | ||
#define VOX_FLOW_SCENE_OBJECT_HPP | ||
|
||
namespace VoxFlow | ||
{ | ||
class SceneObject | ||
{ | ||
public: | ||
}; | ||
} // namespace VoxFlow | ||
|
||
#endif // VOX_FLOW_SCENE_OBJECT_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,25 @@ | ||
// Author : snowapril | ||
|
||
#ifndef VOX_FLOW_SCENE_OBJECT_LOADER_HPP | ||
#define VOX_FLOW_SCENE_OBJECT_LOADER_HPP | ||
|
||
#include <memory> | ||
#include <string> | ||
|
||
namespace VoxFlow | ||
{ | ||
class SceneObject; | ||
|
||
class SceneObjectLoader | ||
{ | ||
public: | ||
SceneObjectLoader(); | ||
~SceneObjectLoader(); | ||
|
||
public: | ||
std::shared_ptr<SceneObject> loadSceneObjectGltf(const std::string& gltfPath); | ||
|
||
}; | ||
} | ||
|
||
#endif // VOX_FLOW_SCENE_OBJECT_LOADER_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
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,7 @@ | ||
// Author : snowapril | ||
|
||
#include <VoxFlow/Core/Scene/Material.hpp> | ||
|
||
namespace VoxFlow | ||
{ | ||
} // namespace VoxFlow |
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,7 @@ | ||
// Author : snowapril | ||
|
||
#include <VoxFlow/Core/Scene/PrimitiveBufferPool.hpp> | ||
|
||
namespace VoxFlow | ||
{ | ||
} // namespace VoxFlow |
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,7 @@ | ||
// Author : snowapril | ||
|
||
#include <VoxFlow/Core/Scene/SceneObject.hpp> | ||
|
||
namespace VoxFlow | ||
{ | ||
} // namespace VoxFlow |
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,12 @@ | ||
// Author : snowapril | ||
|
||
#include <VoxFlow/Core/Scene/SceneObjectLoader.hpp> | ||
|
||
#define TINYGLTF_IMPLEMENTATION | ||
#define STB_IMAGE_IMPLEMENTATION | ||
#define STB_IMAGE_WRITE_IMPLEMENTATION | ||
#include <tiny_gltf.h> | ||
|
||
namespace VoxFlow | ||
{ | ||
} // namespace VoxFlow |