0.9.9 API documenation: Vector types

| 0.9.9 API documenation

Typedefs
Vector types
Core features

## Typedefs
typedef vec< 2, bool, defaultp > | bvec2
typedef vec< 3, bool, defaultp > | bvec3
typedef vec< 4, bool, defaultp > | bvec4
typedef vec< 2, double, defaultp > | dvec2
typedef vec< 3, double, defaultp > | dvec3
typedef vec< 4, double, defaultp > | dvec4
typedef vec< 2, int, defaultp > | ivec2
typedef vec< 3, int, defaultp > | ivec3
typedef vec< 4, int, defaultp > | ivec4
typedef vec< 2, unsigned int, defaultp > | uvec2
typedef vec< 3, unsigned int, defaultp > | uvec3
typedef vec< 4, unsigned int, defaultp > | uvec4
typedef vec< 2, float, defaultp > | vec2
typedef vec< 3, float, defaultp > | vec3
typedef vec< 4, float, defaultp > | vec4

## 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, 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.

## ◆ ivec3

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.

## ◆ ivec4

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.

## ◆ uvec2

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.

## ◆ uvec3

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.

## ◆ uvec4

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.

## ◆ 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.