Sha256: 4f01d1168e8af09cd151060ec1f44150696c83d465ee7336abe3b7a5be177806

Contents?: true

Size: 533 Bytes

Versions: 21

Compression:

Stored size: 533 Bytes

Contents

#include <glm/glm.hpp>

int test_float_size()
{
	return
		sizeof(glm::float_t) != sizeof(glm::lowp_float) &&
		sizeof(glm::float_t) != sizeof(glm::mediump_float) && 
		sizeof(glm::float_t) != sizeof(glm::highp_float);
}

int test_float_precision()
{
	return (
		sizeof(glm::lowp_float) <= sizeof(glm::mediump_float) && 
		sizeof(glm::mediump_float) <= sizeof(glm::highp_float)) ? 0 : 1;
}

int test_vec2()
{
	return 0;
}

int main()
{
	int Error = 0;

	Error += test_float_size();
	Error += test_float_precision();

	return Error;
}

Version data entries

21 entries across 21 versions & 1 rubygems

Version Path
pixo-0.4.5 ext/pixo/ext/glm/test/core/core_type_float.cpp
pixo-0.4.4 ext/pixo/ext/glm/test/core/core_type_float.cpp
pixo-0.4.3 ext/pixo/ext/glm/test/core/core_type_float.cpp
pixo-0.4.2 ext/pixo/ext/glm/test/core/core_type_float.cpp
pixo-0.4.1 ext/pixo/ext/glm/test/core/core_type_float.cpp
pixo-0.4.0 ext/pixo/ext/glm/test/core/core_type_float.cpp
pixo-0.3.2 ext/pixo/ext/glm/test/core/core_type_float.cpp
pixo-0.3.1 ext/pixo/ext/glm/test/core/core_type_float.cpp
pixo-0.3.0 ext/pixo/ext/glm/test/core/core_type_float.cpp
pixo-0.2.6 ext/pixo/ext/glm/test/core/core_type_float.cpp
pixo-0.2.5 ext/pixo/ext/glm/test/core/core_type_float.cpp
pixo-0.2.4 ext/pixo/ext/glm/test/core/core_type_float.cpp
pixo-0.2.3 ext/pixo/ext/glm/test/core/core_type_float.cpp
pixo-0.2.2 ext/pixo/ext/glm/test/core/core_type_float.cpp
pixo-0.2.1 ext/pixo/ext/glm/test/core/core_type_float.cpp
pixo-0.2.0 ext/pixo/ext/glm/test/core/core_type_float.cpp
pixo-0.1.4 ext/pixo/ext/glm/test/core/core_type_float.cpp
pixo-0.1.3 ext/pixo/ext/glm/test/core/core_type_float.cpp
pixo-0.1.2 ext/pixo/ext/glm/test/core/core_type_float.cpp
pixo-0.1.1 ext/pixo/ext/glm/test/core/core_type_float.cpp