Vector types
Core features

Vector types of two to four components with an exhaustive set of operators. More...

## Typedefs

typedef vec< 2, bool, defaultp > | bvec2
| 2 components vector of boolean. More...
typedef vec< 3, bool, defaultp > | bvec3
| 3 components vector of boolean. More...
typedef vec< 4, bool, defaultp > | bvec4
| 4 components vector of boolean. More...
typedef vec< 2, double, defaultp > | dvec2
| 2 components vector of double-precision floating-point numbers. More...
typedef vec< 3, double, defaultp > | dvec3
| 3 components vector of double-precision floating-point numbers. More...
typedef vec< 4, double, defaultp > | dvec4
| 4 components vector of double-precision floating-point numbers. More...
typedef vec< 2, int, defaultp > | ivec2
| 2 components vector of signed integer numbers. More...
typedef vec< 3, int, defaultp > | ivec3
| 3 components vector of signed integer numbers. More...
typedef vec< 4, int, defaultp > | ivec4
| 4 components vector of signed integer numbers. More...
typedef vec< 2, unsigned int, defaultp > | uvec2
| 2 components vector of unsigned integer numbers. More...
typedef vec< 3, unsigned int, defaultp > | uvec3
| 3 components vector of unsigned integer numbers. More...
typedef vec< 4, unsigned int, defaultp > | uvec4
| 4 components vector of unsigned integer numbers. More...
typedef vec< 2, float, defaultp > | vec2
| 2 components vector of single-precision floating-point numbers. More...
typedef vec< 3, float, defaultp > | vec3
| 3 components vector of single-precision floating-point numbers. More...
typedef vec< 4, float, defaultp > | vec4
| 4 components vector of single-precision floating-point numbers. More...

## Detailed Description

Vector types of two to four components with an exhaustive set of operators.

## Typedef Documentation

typedef vec< 2, bool, defaultp > bvec2

2 components vector of boolean.

See also
  GLSL 4.20.8 specification, section 4.1.5 Vectors

Definition at line 15 of file vector_bool2.hpp.

typedef vec< 3, bool, defaultp > bvec3

3 components vector of boolean.

See also
  GLSL 4.20.8 specification, section 4.1.5 Vectors

Definition at line 15 of file vector_bool3.hpp.

typedef vec< 4, bool, defaultp > bvec4

4 components vector of boolean.

See also
  GLSL 4.20.8 specification, section 4.1.5 Vectors

Definition at line 15 of file vector_bool4.hpp.

typedef vec< 2, f64, defaultp > dvec2

2 components vector of double-precision floating-point numbers.

See also
  GLSL 4.20.8 specification, section 4.1.5 Vectors

Definition at line 15 of file vector_double2.hpp.

typedef vec< 3, f64, defaultp > dvec3

3 components vector of double-precision floating-point numbers.

See also
  GLSL 4.20.8 specification, section 4.1.5 Vectors

Definition at line 15 of file vector_double3.hpp.

typedef vec< 4, f64, defaultp > dvec4

4 components vector of double-precision floating-point numbers.

See also
  GLSL 4.20.8 specification, section 4.1.5 Vectors

Definition at line 15 of file vector_double4.hpp.

typedef vec< 2, i32, defaultp > ivec2

2 components vector of signed integer numbers.

See also
  GLSL 4.20.8 specification, section 4.1.5 Vectors

Definition at line 15 of file vector_int2.hpp.

typedef vec< 3, i32, defaultp > ivec3

3 components vector of signed integer numbers.

See also
  GLSL 4.20.8 specification, section 4.1.5 Vectors

Definition at line 15 of file vector_int3.hpp.

typedef vec< 4, i32, defaultp > ivec4

4 components vector of signed integer numbers.

See also
  GLSL 4.20.8 specification, section 4.1.5 Vectors

Definition at line 15 of file vector_int4.hpp.

typedef vec< 2, u32, defaultp > uvec2

2 components vector of unsigned integer numbers.

See also
  GLSL 4.20.8 specification, section 4.1.5 Vectors

Definition at line 15 of file vector_uint2.hpp.

typedef vec< 3, u32, defaultp > uvec3

3 components vector of unsigned integer numbers.

See also
  GLSL 4.20.8 specification, section 4.1.5 Vectors

Definition at line 15 of file vector_uint3.hpp.

typedef vec< 4, u32, defaultp > uvec4

4 components vector of unsigned integer numbers.

See also
  GLSL 4.20.8 specification, section 4.1.5 Vectors

Definition at line 15 of file vector_uint4.hpp.

typedef vec< 2, float, defaultp > vec2

2 components vector of single-precision floating-point numbers.

See also
  GLSL 4.20.8 specification, section 4.1.5 Vectors

Definition at line 15 of file vector_float2.hpp.

typedef vec< 3, float, defaultp > vec3

3 components vector of single-precision floating-point numbers.

See also
  GLSL 4.20.8 specification, section 4.1.5 Vectors

Definition at line 15 of file vector_float3.hpp.

typedef vec< 4, float, defaultp > vec4

4 components vector of single-precision floating-point numbers.

See also
  GLSL 4.20.8 specification, section 4.1.5 Vectors

Definition at line 15 of file vector_float4.hpp.