This commit is contained in:
2026-04-28 15:40:11 -04:00
parent 23fec20140
commit 739c8d3bb4
16 changed files with 2554447 additions and 16 deletions

View File

@ -53,7 +53,7 @@ struct main_functionpars
float freezethresh;
};
float main_function(cuvec3f pos, main_functionpars &pars);
__host__ __device__ float main_function(cuvec3f pos, main_functionpars &pars);
@ -139,7 +139,7 @@ class mtcube
__device__ __host__ void eval_function(main_functionpars &pars); //calls a function under consideration at each of the 15 node points
__device__ __host__ int count_triangles();
__device__ __host__ void fill_trianglebuffer(float *buffer, int &offset); //fills from offset to offset+ntris*3*3 with the triangles calculated from fevals. Increments offset.
__device__ __host__ void fill_trianglebuffer(float *buffer, int64_t &offset); //fills from offset to offset+ntris*3*3 with the triangles calculated from fevals. Increments offset.
__device__ __host__ float count_triarea(); //counts triangle area without filling a buffer or retaining the mesh
__device__ __host__ mtcube();