Commit Graph

14 Commits

Author SHA1 Message Date
Adrien Bourmault 9bb7cefc2f
WIP: no image but no more segfault 2023-12-20 18:01:27 +01:00
Adrien Bourmault 319b84b099
WIP: GLAreas stacks are now managed 2023-12-20 13:34:44 +01:00
Adrien Bourmault 9325a7cb6f
WIP: total rewrite graphic stack allocation 2023-12-19 21:46:51 +01:00
Jean Sirmai 89ffa7fb82
O K P R I N T I N G + O K D R A W I N G ( + C O M M E N T S ) 2023-12-12 18:37:32 +01:00
Jean Sirmai 5c224b20cf
create_arrow() creating in arrows_ptr and drawing 2023-12-12 16:55:09 +01:00
Jean Sirmai 6698c51c6d
Fixed segfault/abort/double free with realloc in *_arrow() 2023-12-12 16:54:05 +01:00
Jean Sirmai 2732ec3289
src/graphics/*: Reworked modularity, buffer allocation and reallocation of lines buffer
Acked-by: Adrien 'neox' Bourmault <neox@a-lec.org>
2023-12-12 16:50:57 +01:00
Jean Sirmai 5549f334b8
First 3D representation
Space units are 3D, arrows are 3D, space can be 3D/2D/1D.
Every dimension length can be defined independently.

At this time, arrows are drawn after a statically-defined array.

Signed-off-by: Jean Sirmai <jean@a-lec.org>
Acked-by: neox <neox@a-lec.org>
2023-12-12 16:50:27 +01:00
Jean Sirmai a0cce217b2
WIP: Réorganisation de graphics.c création de space_2D.c et arrow_2D.c 2023-06-15 19:50:49 +02:00
Jean Sirmai 1c5f45d505
Is OK. Avant restructuration. (découpage de graphics.c en "control_graphics.c" + space_2D.c + _3D.c + etc) 2023-06-15 11:40:55 +02:00
Adrien Bourmault abea32cd88
WIP: gl_area params allocated 2023-02-26 14:57:50 +01:00
Adrien Bourmault d761711ede
WIP: allocation dynamique des paramètres de GLArea 2023-02-23 19:51:02 +01:00
Adrien Bourmault 91026f87be
Changed function naming style 2023-01-25 19:27:51 +01:00
Adrien Bourmault dce3310970
WIP: C transition, beginning from gemgl 2023-01-23 18:52:57 +01:00