feat: re-implement grid overlay
This commit is contained in:
1 parent
852cb58ba9
commit
1b979252db
9 files changed
+2403
-2165
No files matched your search
@@ -8,6 +8,8 @@
|
||||
#include <filament/MaterialInstance.h>
|
||||
#include <utils/Entity.h>
|
||||
#include "scene/SceneAsset.hpp"
|
||||
#include "material/grid.h"
|
||||
|
||||
|
||||
namespace thermion {
|
||||
|
||||
@@ -15,7 +17,7 @@ using namespace filament;
|
||||
|
||||
class GridOverlay : public SceneAsset {
|
||||
public:
|
||||
GridOverlay(Engine& engine);
|
||||
GridOverlay(Engine& engine, Material* material);
|
||||
~GridOverlay();
|
||||
|
||||
SceneAssetType getType() override { return SceneAsset::SceneAssetType::Gizmo; }
|
||||
|
||||
Reference in new issue
Block a user