WIP: version stable avant la création des fonctions add / remove_an_arrow (North = - Z / South = + Z)
This commit is contained in:
parent
3cba87beed
commit
4838c6ef74
|
@ -83,13 +83,11 @@ static bool grids_intersections (long x, long y, long z,
|
|||
static bool arrows_anchors (long x, long y, long z,
|
||||
GLfloat *vertex_origin, GLfloat *colors_origin)
|
||||
{
|
||||
/* beaucoup de ^c ^v ici (peu d'info) (mais un peu)
|
||||
|
||||
X - X = EAST - WEST = rouge - cyan
|
||||
Y - Y = ZENITH - NADIR = vert - magenta
|
||||
Z - Z = NORTH - SOUTH = bleu - jaune
|
||||
// X - X = EAST - WEST = rouge - cyan
|
||||
// Y - Y = ZENITH - NADIR = vert - magenta
|
||||
// Z - Z = SOUTH - NORTH = jaune - bleu
|
||||
|
||||
*/
|
||||
|
||||
float max = fmax(x, y);
|
||||
max = fmax(max, z);
|
||||
|
@ -439,8 +437,8 @@ static void draw_a_central_star(GLuint *lines_origin, long n)
|
|||
#define WEST 1 // - x cyan
|
||||
#define ZENITH 2 // + y vert
|
||||
#define NADIR 3 // - y magenta
|
||||
#define SOUTH 4 // - z jaune
|
||||
#define NORTH 5 // + z bleu
|
||||
#define SOUTH 4 // + z jaune
|
||||
#define NORTH 5 // - z bleu
|
||||
|
||||
static void draw_some_arrows_demo (GLuint *lines_origin,
|
||||
long s, long x, long y, long z,
|
||||
|
@ -491,9 +489,9 @@ static void draw_some_arrows (GLuint *lines_origin, long s, long stx, long sty,
|
|||
|
||||
|
||||
|
||||
// X - X = EAST - WEST = rouge - cyan
|
||||
// X - X = EAST - WEST = rouge - cyan
|
||||
// Y - Y = ZENITH - NADIR = vert - magenta
|
||||
// Z - Z = NORTH - SOUTH = bleu - jaune
|
||||
// Z - Z = SOUTH - NORTH = jaune - bleu
|
||||
|
||||
|
||||
|
||||
|
@ -601,7 +599,7 @@ bool compute_space_and_arrows(long model_size_x, long model_size_y, long model_s
|
|||
return 0;
|
||||
}
|
||||
|
||||
// X - X = EAST - WEST = rouge - cyan
|
||||
// X - X = EAST - WEST = rouge - cyan
|
||||
// Y - Y = ZENITH - NADIR = vert - magenta
|
||||
// Z - Z = NORTH - SOUTH = bleu - jaune
|
||||
// Z - Z = SOUTH - NORTH = jaune - bleu
|
||||
|
||||
|
|
Loading…
Reference in New Issue