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.
24 lines
606 B
24 lines
606 B
/// @ref core |
|
/// @file glm/ivec2.hpp |
|
|
|
#pragma once |
|
#include "detail/type_vec2.hpp" |
|
|
|
namespace glm |
|
{ |
|
/// @addtogroup core |
|
/// @{ |
|
|
|
# if(defined(GLM_PRECISION_LOWP_INT)) |
|
typedef vec<2, int, lowp> ivec2; |
|
# elif(defined(GLM_PRECISION_MEDIUMP_INT)) |
|
typedef vec<2, int, mediump> ivec2; |
|
# else //defined(GLM_PRECISION_HIGHP_INT) |
|
/// 2 components vector of signed integer numbers. |
|
/// |
|
/// @see <a href="http://www.opengl.org/registry/doc/GLSLangSpec.4.20.8.pdf">GLSL 4.20.8 specification, section 4.1.5 Vectors</a> |
|
typedef vec<2, int, highp> ivec2; |
|
# endif//GLM_PRECISION |
|
|
|
/// @} |
|
}//namespace glm
|
|
|