save code

This commit is contained in:
xsl
2025-08-30 22:54:33 +08:00
parent 96d9cf6c3e
commit e78d705a76
562 changed files with 93245 additions and 415 deletions
+22
View File
@@ -0,0 +1,22 @@
#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;
}