Updated raylib-cpp header files
This commit is contained in:
@@ -8,13 +8,16 @@
|
||||
extern "C" {
|
||||
#endif
|
||||
#ifndef RAYLIB_CPP_NO_MATH
|
||||
#ifndef BUILD_RAYLIB_CPP_MODULES
|
||||
#ifndef RAYMATH_STATIC_INLINE
|
||||
#define RAYMATH_STATIC_INLINE
|
||||
#endif
|
||||
#endif
|
||||
#ifdef __GNUC__
|
||||
#pragma GCC diagnostic push // These throw a warnings on visual studio, need to check if __GNUC__ is defined to use it.
|
||||
#pragma GCC diagnostic push // These throw a warnings on visual studio, need to check if __GNUC__ is defined to use it.
|
||||
#pragma GCC diagnostic ignored "-Wmissing-field-initializers"
|
||||
#endif
|
||||
#define RAYMATH_DISABLE_CPP_OPERATORS
|
||||
#include "raymath.h" // NOLINT
|
||||
#ifdef __GNUC__
|
||||
#pragma GCC diagnostic pop
|
||||
@@ -24,4 +27,4 @@ extern "C" {
|
||||
}
|
||||
#endif
|
||||
|
||||
#endif // RAYLIB_CPP_INCLUDE_RAYMATH_HPP_
|
||||
#endif // RAYLIB_CPP_INCLUDE_RAYMATH_HPP_
|
||||
|
Reference in New Issue
Block a user