chore: prevent multiple includes for maths.h
This commit is contained in:
parent
ae29743a5a
commit
b78d3dc10d
5
maths.h
5
maths.h
|
|
@ -1,3 +1,6 @@
|
||||||
|
#ifndef MATHS_H
|
||||||
|
#define MATHS_H
|
||||||
|
|
||||||
#include "turret.h"
|
#include "turret.h"
|
||||||
|
|
||||||
double degToRad(double deg);
|
double degToRad(double deg);
|
||||||
|
|
@ -6,3 +9,5 @@ void angleToStep(Turret::StepRatio stepRatio, vec2<double> angle,
|
||||||
vec2<long> &step);
|
vec2<long> &step);
|
||||||
void cartesianToPolar(Turret::StepRatio stepRatio, Turret::Offset offset,
|
void cartesianToPolar(Turret::StepRatio stepRatio, Turret::Offset offset,
|
||||||
vec2<long> zero, vec3<double> position, vec2<long> &step);
|
vec2<long> zero, vec3<double> position, vec2<long> &step);
|
||||||
|
|
||||||
|
#endif
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue