crosshair
This commit is contained in:
parent
328be44ed0
commit
e799d50f77
5 changed files with 94 additions and 18 deletions
5
cubes.h
5
cubes.h
|
@ -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
|
Loading…
Add table
Add a link
Reference in a new issue