This file contains hidden or 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
#define LOG_COUNTER | |
#define LOG_OPS | |
using System; | |
using System.Collections; | |
using System.Collections.Generic; | |
using System.Text; | |
using Unity.Collections; | |
using Unity.Collections.LowLevel.Unsafe; | |
using Unity.Jobs; | |
using UnityEngine; |
This file contains hidden or 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
using static Unity.Mathematics.math; | |
using Unity.Mathematics; | |
namespace Game | |
{ | |
public interface IVoxelStore<T> where T : struct | |
{ | |
// Should return null if the guess value is not in boundaries of any voxel | |
// Otherwise return arbitrary voxel data | |
T? GetVoxel(float3 guess); |