Clean up raymath include. Fix operators, whitespace.

Fixes #80
This commit is contained in:
Rob Loach
2020-11-12 07:55:16 -05:00
parent 51d9ac51a1
commit e2fd59de10
16 changed files with 104 additions and 52 deletions

View File

@@ -25,23 +25,14 @@
#ifndef RAYLIB_CPP_INCLUDE_VECTOR2_HPP_
#define RAYLIB_CPP_INCLUDE_VECTOR2_HPP_
#ifdef __cplusplus
extern "C" {
#endif
#include "raylib.h" // NOLINT
#ifndef RAYLIB_CPP_NO_MATH
#include "raymath.h" // NOLINT
#endif
#ifdef __cplusplus
}
#endif
#include "./raylib-cpp-utils.hpp"
#ifndef RAYLIB_CPP_NO_MATH
#include <cmath>
#endif
#include "./raylib.hpp"
#include "./raymath.hpp"
#include "./raylib-cpp-utils.hpp"
namespace raylib {
class Vector2 : public ::Vector2 {
public: