mirror of
https://github.com/g-truc/glm.git
synced 2025-04-05 05:25:02 +00:00
Move #include <glm/gtx/span.hpp>
into version check
This commit is contained in:
parent
65654cb3e5
commit
ab646d553b
1 changed files with 2 additions and 1 deletions
|
@ -3,10 +3,11 @@
|
|||
#include <glm/ext/vector_relational.hpp>
|
||||
#include <glm/glm.hpp>
|
||||
|
||||
#if (GLM_LANG & GLM_LANG_CXX20_FLAG) && defined(__cpp_lib_span) && __cpp_lib_span >= 202002L
|
||||
|
||||
#define GLM_ENABLE_EXPERIMENTAL
|
||||
#include <glm/gtx/span.hpp>
|
||||
|
||||
#if (GLM_LANG & GLM_LANG_CXX20_FLAG) && defined(__cpp_lib_span) && __cpp_lib_span >= 202002L
|
||||
static int test_span_vec2()
|
||||
{
|
||||
int Error = 0;
|
||||
|
|
Loading…
Add table
Reference in a new issue