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

## bvec2

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.

## bvec3

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.

## bvec4

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.

## dvec2

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.

## dvec3

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.

## dvec4

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.

## ivec2

typedef vec< 2, int, 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.

## ivec3

typedef vec< 3, int, 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.

## ivec4

typedef vec< 4, int, 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.

## uvec2

typedef vec< 2, uint, 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.

## uvec3

typedef vec< 3, uint, 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.

## uvec4

typedef vec< 4, uint, 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.

## vec2

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.

## vec3

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.

## vec4

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.