crosshair

This commit is contained in:
onezplpl 2024-07-18 17:04:40 -04:00
parent 328be44ed0
commit e799d50f77
No known key found for this signature in database
GPG key ID: 7EC026A136F9EEC3
5 changed files with 94 additions and 18 deletions

View file

@ -7,7 +7,7 @@
#define CHUNK_RADIUS_V 4 // 4
#define TEXT_GAP_H 1 / 6.0
#define TEXT_GAP_V 1 / 6.0
#define TEXT_GAP_V 1 / 7.0
#define CHUNK_DIAMETER_H (CHUNK_RADIUS_H * 2 + 1)
#define CHUNK_DIAMETER_V (CHUNK_RADIUS_V * 2 + 1)
@ -15,6 +15,7 @@
#define BLOCK_ALL CHUNK_LENGTH *CHUNK_LENGTH *CHUNK_LENGTH
#define CBLOCK_ALL BLOCK_ALL *CHUNK_ALL
#define CBUF_ALL 2
#define UI_ALL 1024
#define CTRI_ALL CBLOCK_ALL * 18 * sizeof(struct v3f)
@ -43,4 +44,6 @@ int cubes_vert(struct v3f *cube, struct v3f *text, struct v3f *cubeO,
void cubes_free();
void cubes_refresh(int x, int y, int z, struct chunk dat);
void cubes_rect(struct v3f *cube, int *i, double x1, double x2, double y1,
double y2, int is_text, int text_x, int text_y);
#endif