mirror of
https://github.com/kuhyx/engineer-thesis-WUT.git
synced 2026-07-06 21:23:18 +02:00
23 lines
321 B
C++
23 lines
321 B
C++
|
|
#define GLM_ENABLE_EXPERIMENTAL
|
||
|
|
#include <glm/vec2.hpp>
|
||
|
|
#include <glm/gtx/texture.hpp>
|
||
|
|
|
||
|
|
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;
|
||
|
|
}
|