Rename basetypes to mathtypes
This commit is contained in:
parent
108be3035f
commit
e9308b839c
3 changed files with 4 additions and 2 deletions
17
maths/mathtypes.h
Normal file
17
maths/mathtypes.h
Normal file
|
@ -0,0 +1,17 @@
|
|||
#ifndef _BASETYPES_H_
|
||||
#define _BASETYPES_H_
|
||||
|
||||
// Coordinate types
|
||||
typedef short coord_t;
|
||||
typedef unsigned short ucoord_t;
|
||||
|
||||
// Direction representation
|
||||
enum dir_t : char
|
||||
{
|
||||
N = 'N',
|
||||
S = 'S',
|
||||
E = 'E',
|
||||
W = 'W',
|
||||
};
|
||||
|
||||
#endif //_BASETYPES_H_
|
Loading…
Add table
Add a link
Reference in a new issue