Anttwo / SuGaR

[CVPR 2024] Official PyTorch implementation of SuGaR: Surface-Aligned Gaussian Splatting for Efficient 3D Mesh Reconstruction and High-Quality Mesh Rendering
https://anttwo.github.io/sugar/
Other
2.36k stars 182 forks source link

fix: include <cfloat> in simple_knn.cu to resolve FLT_MAX compilation error #223

Open michelgokan opened 1 month ago

michelgokan commented 1 month ago

Added header to simple_knn.cu to define FLT_MAX and other floating-point constants needed for CUDA compatibility. This change addresses build errors encountered during compilation with nvcc when FLT_MAX was undefined.