-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathmesh_builder.h
More file actions
42 lines (32 loc) · 795 Bytes
/
mesh_builder.h
File metadata and controls
42 lines (32 loc) · 795 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
/*
* mesh_builder.h
*
* Created on: Sept 14, 2018
* Author: cyberwizzard
*/
#ifndef MESH_BUILDER_H_
#define MESH_BUILDER_H_
//#define KEY_DOWN 258
//#define KEY_UP 259
//#define KEY_LEFT 260
//#define KEY_RIGHT 261
#define KEY_F1 265
#define KEY_F2 266
#define KEY_F3 267
#define KEY_F4 268
#define KEY_F5 269
#define KEY_F6 270
#define KEY_F7 271
#define KEY_F8 272
#define KEY_F9 273
#define KEY_F10 274
#define KEY_F11 275
#define KEY_F12 276
typedef struct {
float x; // X location of the mesh point
float y; // Y location of the mesh point
float z; // Offset from the Z home point, always negative if the bed is below the home point
int valid; // Mark which points have been filled as valid
} ty_meshpoint;
int mesh_builder();
#endif /* MESH_BUILDER_H_ */