载入中...
搜索中...
未找到
VoxelCatalog.cpp 文件参考
#include "voxel/editing/VoxelCatalog.h"
#include <algorithm>
#include <cmath>
#include <limits>
#include <optional>
#include <set>
#include <utility>

浏览源代码.

命名空间

namespace  eve
 Build metadata (engine git commit, build time, third-party version).
 
namespace  eve::voxel_editing
 

函数

VoxelSocketKind eve::voxel_editing::voxelSocketKindFromName (std::string_view name)
 Parse a socket kind name.
 
const char * eve::voxel_editing::voxelSocketKindName (VoxelSocketKind kind)
 Stable serialized name for a socket kind. @ownership Observed static string; callers must not free it. @lifetime Valid for the process lifetime. @thread Any.
 
bool eve::voxel_editing::canJoinVoxelSockets (const VoxelSocket &a, const VoxelSocket &b)
 True when two facing sockets may join.
 
int eve::voxel_editing::voxelOppositeFace (int face)
 Opposite FaceDir index in PosX/NegX/PosY/NegY/PosZ/NegZ order.
 
bool eve::voxel_editing::isVoxelModelOccupied (const VoxelModelValue &model, int x, int y, int z)
 True when model contains an occupied cell at (x,y,z).
 
VoxelCellFill eve::voxel_editing::voxelClassifyModelFill (const VoxelModelValue &model)
 Classify a sculpted model as empty, partial, or a solid cube.
 
VoxelPick eve::voxel_editing::pickVoxelModel (const VoxelModelValue &model, float ox, float oy, float oz, float dx, float dy, float dz, float maxDistance)
 Raycast occupied cells with MagicaVoxel-style previous-cell attach.