Draw first triangle
This commit is contained in:
14
include/PSX/Auxiliary/type_traits.hpp
Normal file
14
include/PSX/Auxiliary/type_traits.hpp
Normal file
@@ -0,0 +1,14 @@
|
||||
#ifndef __JABYENGINE_TYPE_TRAITS_HPP__
|
||||
#define __JABYENGINE_TYPE_TRAITS_HPP__
|
||||
|
||||
namespace JabyEngine {
|
||||
template<bool B, class T = void>
|
||||
struct enable_if {};
|
||||
|
||||
template<class T>
|
||||
struct enable_if<true, T> {
|
||||
typedef T type;
|
||||
};
|
||||
}
|
||||
|
||||
#endif //! __JABYENGINE_TYPE_TRAITS_HPP__
|
Reference in New Issue
Block a user