mirror of
https://github.com/g-truc/glm.git
synced 2024-11-26 10:14:35 +00:00
Fixed test with VC and disabled lang extension
This commit is contained in:
parent
bcd33a89df
commit
4e95519396
@ -51,7 +51,7 @@ if(GLM_TEST_ENABLE_MS_EXTENSIONS)
|
|||||||
add_definitions(-Wgnu-anonymous-struct)
|
add_definitions(-Wgnu-anonymous-struct)
|
||||||
add_definitions(-Wnested-anon-types)
|
add_definitions(-Wnested-anon-types)
|
||||||
endif()
|
endif()
|
||||||
elseif()
|
else()
|
||||||
if(("${CMAKE_CXX_COMPILER_ID}" STREQUAL "MSVC") OR (("${CMAKE_CXX_COMPILER_ID}" STREQUAL "Intel") AND WIN32))
|
if(("${CMAKE_CXX_COMPILER_ID}" STREQUAL "MSVC") OR (("${CMAKE_CXX_COMPILER_ID}" STREQUAL "Intel") AND WIN32))
|
||||||
add_definitions(/Za)
|
add_definitions(/Za)
|
||||||
elseif(("${CMAKE_CXX_COMPILER_ID}" STREQUAL "Clang") OR ("${CMAKE_CXX_COMPILER_ID}" STREQUAL "GNU"))
|
elseif(("${CMAKE_CXX_COMPILER_ID}" STREQUAL "Clang") OR ("${CMAKE_CXX_COMPILER_ID}" STREQUAL "GNU"))
|
||||||
|
BIN
doc/glm.docx
BIN
doc/glm.docx
Binary file not shown.
@ -130,20 +130,6 @@ namespace glm
|
|||||||
template <precision P, template <typename, precision> class vecType>
|
template <precision P, template <typename, precision> class vecType>
|
||||||
GLM_FUNC_DECL vecType<bool, P> not_(vecType<bool, P> const & v);
|
GLM_FUNC_DECL vecType<bool, P> not_(vecType<bool, P> const & v);
|
||||||
|
|
||||||
# if (GLM_COMPILER & GLM_COMPILER_VC && GLM_COMPILER >= GLM_COMPILER_VC2013)// || (GLM_COMPILER & GLM_COMPILER_APPLE_CLANG && GLM_COMPILER >= GLM_COMPILER_APPLE_CLANG60)
|
|
||||||
|
|
||||||
/// Returns the component-wise logical complement of x.
|
|
||||||
/// /!\ Because of language incompatibilities between C++ and GLSL, GLM defines the function not but not_ instead.
|
|
||||||
///
|
|
||||||
/// @tparam vecType Boolean vector types.
|
|
||||||
///
|
|
||||||
/// @see <a href="http://www.opengl.org/sdk/docs/manglsl/xhtml/not.xml">GLSL not man page</a>
|
|
||||||
/// @see <a href="http://www.opengl.org/registry/doc/GLSLangSpec.4.20.8.pdf">GLSL 4.20.8 specification, section 8.7 Vector Relational Functions</a>
|
|
||||||
template <precision P, template <typename, precision> class vecType>
|
|
||||||
GLM_FUNC_DECL vecType<bool, P> not(vecType<bool, P> const & v){return not_(v);}
|
|
||||||
|
|
||||||
# endif
|
|
||||||
|
|
||||||
/// @}
|
/// @}
|
||||||
}//namespace glm
|
}//namespace glm
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user