Browse Source

AP_Math: allow build without other headers for vector2.h

zr-v5.1
Andrew Tridgell 4 years ago
parent
commit
a56f07b74d
  1. 4
      libraries/AP_Math/vector2.h

4
libraries/AP_Math/vector2.h

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

Loading…
Cancel
Save