aboutsummaryrefslogtreecommitdiff
path: root/src/m.h
blob: 25aff9e2230c62e9aaf72c63027305c2c33db2dd (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
#ifndef _M_H_
#define _M_H_

#include <stdint.h>
#include <math.h>


//Calculate average
uint8_t avg(int argc, uint8_t *argv);

//Distance of 2 3d vectors
float distance(uint8_t _1[3], uint8_t _2[3]);

#endif