Draw first triangle

This commit is contained in:
2023-05-07 00:07:20 +02:00
parent a50e0ec544
commit 3831c3a3eb
12 changed files with 190 additions and 32 deletions

View 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__