need cmath?

This commit is contained in:
incredibleLeitman 2020-11-29 03:15:22 +01:00
parent 6056640ad4
commit 2d5920532b

6
Line.h
View File

@ -1,4 +1,7 @@
#pragma once #ifndef LINE_H
#define LINE_H
#include <cmath> // For abs, sqrt
#include "Point.h" #include "Point.h"
@ -60,3 +63,4 @@ public:
return (d * d) / (a * a + b * b); return (d * d) / (a * a + b * b);
} }
}; };
#endif // LINE_H