Commit fbcfa576 authored by Patrik Huber's avatar Patrik Huber

Fixed includes and whitespace

parent 822faa52
...@@ -7,27 +7,13 @@ ...@@ -7,27 +7,13 @@
All rights reserved. Use of this source code is governed by a All rights reserved. Use of this source code is governed by a
BSD-style license that can be found in pybind11's LICENSE file. BSD-style license that can be found in pybind11's LICENSE file.
*/ */
#pragma once #pragma once
#include <cstddef> #include <cstddef>
#include "pybind11/numpy.h" #include "pybind11/numpy.h"
#if defined(__INTEL_COMPILER) #include "glm/gtc/type_ptr.hpp" // includes all vector and matrix types too
# pragma warning(disable: 1682) // implicit conversion of a 64-bit integral type to a smaller integral type (potential portability problem)
#elif defined(__GNUG__) || defined(__clang__)
# pragma GCC diagnostic push
# pragma GCC diagnostic ignored "-Wconversion"
# pragma GCC diagnostic ignored "-Wdeprecated-declarations"
#endif
#include "glm/mat2x2.hpp"
#include "glm/gtc/type_ptr.hpp"
#if defined(__GNUG__) || defined(__clang__)
# pragma GCC diagnostic pop
#endif
#if defined(_MSC_VER) #if defined(_MSC_VER)
#pragma warning(push) #pragma warning(push)
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment