2020-01-26 14:34:26 -08:00
|
|
|
#ifndef VOXEL_BLOCK_REQUEST_H
|
|
|
|
#define VOXEL_BLOCK_REQUEST_H
|
|
|
|
|
|
|
|
#include "../math/vector3i.h"
|
|
|
|
#include "../voxel_buffer.h"
|
|
|
|
|
|
|
|
class VoxelBuffer;
|
|
|
|
|
2020-08-25 15:00:38 -07:00
|
|
|
// TODO Rename VoxelStreamBlockRequest
|
2020-01-26 14:34:26 -08:00
|
|
|
struct VoxelBlockRequest {
|
|
|
|
Ref<VoxelBuffer> voxel_buffer;
|
|
|
|
Vector3i origin_in_voxels;
|
|
|
|
int lod;
|
|
|
|
};
|
|
|
|
|
|
|
|
#endif // VOXEL_BLOCK_REQUEST_H
|