Branch
Hash :
36df94af
Author :
Thomas de Grivel
Date :
2025-03-02T16:13:53
Change copyright wording and extend to 2025
/* kc3
* Copyright from 2022 to 2025 kmx.io <contact@kmx.io>
*
* Permission is hereby granted to use this software granted the above
* copyright notice and this permission paragraph are included in all
* copies and substantial portions of this software.
*
* THIS SOFTWARE IS PROVIDED "AS-IS" WITHOUT ANY GUARANTEE OF
* PURPOSE AND PERFORMANCE. IN NO EVENT WHATSOEVER SHALL THE
* AUTHOR BE CONSIDERED LIABLE FOR THE USE AND PERFORMANCE OF
* THIS SOFTWARE.
*/
#ifndef KUBZ_GL_MARCHING_CUBE_H
#define KUBZ_GL_MARCHING_CUBE_H
#include <libkc3/types.h>
#include "types.h"
u8
gl_marching_cube_cell_cube_index (s_gl_marching_cube_cell *cell,
f32 threshold);
u8
gl_marching_cube_cell_triangles (s_gl_marching_cube_cell *cell,
f32 threshold, s_gl_vertex *dest);
s_vec3 *
gl_marching_cube_intersections (s_gl_marching_cube_cell *cell,
f32 threshold,
s_vec3 *dest);
u8
gl_marching_cube_intersections_triangles (s_vec3 *intersections,
u8 cube_index,
s_gl_vertex *dest);
#endif /* KUBZ_GL_MARCHING_CUBE_H */