Commit 64d82806 authored by Célestin Marot's avatar Célestin Marot
Browse files

new bound on the number of triangle

parent 19eb3782
......@@ -42,7 +42,7 @@ extern "C" {
#define SPR_MAX_PTS 32
#define SPR_MAX_EDGES ((SPR_MAX_PTS*SPR_MAX_PTS - SPR_MAX_PTS)/2)
#define SPR_MAX_TETS ((SPR_MAX_PTS*SPR_MAX_PTS - 3*SPR_MAX_PTS - 2)/2)
#define SPR_MAX_FACES (3*SPR_MAX_TETS)
#define SPR_MAX_FACES (2*SPR_MAX_TETS+2)
/* structure for the points (32 bytes)*/
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment