Toast Engine
Toggle main menu visibility
Loading...
Searching...
No Matches
carve_volume.hpp
Go to the documentation of this file.
1
7
8
#pragma once
9
#include "
voxel_volume.hpp
"
10
11
namespace
toast {
12
14
class
[[ToastNode, Icon(
"BoxOccluder"
)]] TOAST_API
CarveVolume
:
public
VoxelVolume
{
15
public
:
16
[[nodiscard]]
17
auto
kind()
const
noexcept
->
PieceKind
override
{
18
return
PieceKind::carve
;
19
}
20
};
21
22
}
toast::CarveVolume
Definition
carve_volume.hpp:14
toast::VoxelVolume
Definition
voxel_volume.hpp:17
voxel_volume.hpp
A box of voxels inside a ProceduralVoxel.
toast::PieceKind
PieceKind
Definition
voxel_piece.hpp:26
toast::PieceKind::carve
@ carve
Empties every voxel it has.
Definition
voxel_piece.hpp:28
engine
src
toast
voxel
nodes
carve_volume.hpp
Generated by
1.17.0