mirror of
https://github.com/aharabada/glitchy-engine-beef.git
synced 2026-09-06 05:01:53 +00:00
Added voxel raycasting and voxel chunk access
This commit is contained in:
@@ -1,3 +1,5 @@
|
||||
using GlitchyEngine.Math;
|
||||
|
||||
namespace Sandbox.VoxelFun
|
||||
{
|
||||
public struct VoxelChunk
|
||||
@@ -7,6 +9,7 @@ namespace Sandbox.VoxelFun
|
||||
public const int SizeZ = 16;
|
||||
|
||||
public const Point3 Size = .(SizeX, SizeY, SizeZ);
|
||||
public const Vector3 VectorSize = .(SizeX, SizeY, SizeZ);
|
||||
|
||||
public uint8[SizeX][SizeY][SizeZ] Data;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user