You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and dots ('.'), can be up to 35 characters long. Letters must be lowercase.
23 lines
307 B
23 lines
307 B
#include <glm/vec2.hpp> |
|
|
|
#define GLM_ENABLE_EXPERIMENTAL |
|
#include <glm/gtx/texture.hpp> |
|
|
|
static int test_levels() |
|
{ |
|
int Error = 0; |
|
|
|
int const Levels = glm::levels(glm::ivec2(3, 2)); |
|
Error += Levels == 2 ? 0 : 1; |
|
|
|
return Error; |
|
} |
|
|
|
int main() |
|
{ |
|
int Error = 0; |
|
|
|
Error += test_levels(); |
|
|
|
return Error; |
|
}
|
|
|