feat: re-implement grid overlay
This commit is contained in:
@@ -8,5 +8,5 @@ GRID_PACKAGE:
|
||||
GRID_GRID_OFFSET:
|
||||
.int 0
|
||||
GRID_GRID_SIZE:
|
||||
.int 44564
|
||||
.int 47596
|
||||
|
||||
|
||||
@@ -8,5 +8,5 @@ _GRID_PACKAGE:
|
||||
_GRID_GRID_OFFSET:
|
||||
.int 0
|
||||
_GRID_GRID_SIZE:
|
||||
.int 44564
|
||||
.int 47596
|
||||
|
||||
|
||||
Binary file not shown.
File diff suppressed because it is too large
Load Diff
@@ -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