mirror of
https://github.com/aharabada/glitchy-engine-beef.git
synced 2026-09-05 13:01:52 +00:00
Decoupled Chunk data loading/generation and geometry generation
This commit is contained in:
@@ -408,6 +408,9 @@ namespace Sandbox.VoxelFun
|
||||
|
||||
if(intersectInfo.Face != .None)
|
||||
{
|
||||
if(rightHandBlock == null)
|
||||
rightHandBlock = Blocks.Stone;
|
||||
|
||||
if(Input.IsMouseButtonPressing(.LeftButton))
|
||||
{
|
||||
_world.BreakBlock(intersectInfo.Coordinate);
|
||||
@@ -427,7 +430,7 @@ namespace Sandbox.VoxelFun
|
||||
Renderer.EndScene();
|
||||
}
|
||||
|
||||
Block rightHandBlock = Blocks.Stone;
|
||||
Block rightHandBlock;
|
||||
|
||||
struct IntersectionInfo
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user