AP_Math: allow build without other headers for vector2.h

This commit is contained in:
Andrew Tridgell 2020-11-07 09:30:01 +11:00
parent ef5baaf482
commit a56f07b74d

View File

@ -29,6 +29,10 @@
****************************************/ ****************************************/
#pragma once #pragma once
#ifndef MATH_CHECK_INDEXES
#define MATH_CHECK_INDEXES 0
#endif
#include <cmath> #include <cmath>
#include <AP_Common/AP_Common.h> #include <AP_Common/AP_Common.h>