blob: ea52982d4335b5831939b8c4d91111f35c2570ce (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
|
#ifndef TEENSY_COMMON_H_
#define TEENSY_COMMON_H_
#include <assert.h>
#include <stdbool.h>
#include <stdint.h>
#include <stdlib.h>
#include "teensy_log.h"
#include "teensy_mem.h"
#define TY_PI (3.1415926535897932384626433)
#define TY_TAU (TY_PI * 2)
#define TY_DEG2RAD (180 / PI)
#define TY_RAD2DEG (PI / 180)
#endif // TEENSY_COMMON_H_
|