mirror of
https://github.com/ArduPilot/ardupilot
synced 2025-01-03 14:38:30 -04:00
AP_Math: allow build without other headers for vector2.h
This commit is contained in:
parent
ef5baaf482
commit
a56f07b74d
@ -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>
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user