Sha256: 3cd647ce390d7d83621cf72fb2cf488a7760880cffad0ef4ebac75b98afe63a4
Contents?: true
Size: 484 Bytes
Versions: 21
Compression:
Stored size: 484 Bytes
Contents
#include <glm/gtx/compatibility.hpp> int main() { int Error(0); Error += glm::isfinite(1.0f) ? 0 : 1; Error += glm::isfinite(1.0) ? 0 : 1; Error += glm::isfinite(-1.0f) ? 0 : 1; Error += glm::isfinite(-1.0) ? 0 : 1; Error += glm::all(glm::isfinite(glm::vec4(1.0f))) ? 0 : 1; Error += glm::all(glm::isfinite(glm::dvec4(1.0))) ? 0 : 1; Error += glm::all(glm::isfinite(glm::vec4(-1.0f))) ? 0 : 1; Error += glm::all(glm::isfinite(glm::dvec4(-1.0))) ? 0 : 1; return Error; }
Version data entries
21 entries across 21 versions & 1 rubygems