Files
ViewDesignEngine/include/vde/gpu/gpu_acceleration.h
T

7 lines
352 B
C++
Raw Normal View History

#pragma once
#include "vde/mesh/halfedge_mesh.h"
namespace vde::gpu {
[[nodiscard]] mesh::HalfedgeMesh gpu_marching_cubes(const std::function<double(double,double,double)>& sdf, const core::AABB3D& bounds, int res=64);
[[nodiscard]] mesh::HalfedgeMesh gpu_mesh_simplify(const mesh::HalfedgeMesh& mesh, float target_ratio=0.5f);
} // namespace vde::gpu