Blender V5.0
int_vector_types.h File Reference
#include "vector2.h"
#include "vector4.h"

Go to the source code of this file.

Classes

struct  int2
class  int3
class  int4

Functions

int2 __operator__add__ (int2 a, int2 b)
int2 __operator__add__ (int2 a, int b)
int2 __operator__mul__ (int2 a, int2 b)
int2 __operator__mul__ (int2 a, int b)
int2 __operator__shr__ (int2 a, int b)
int2 __operator__xor__ (int2 a, int2 b)
int2 __operator__bitand__ (int2 a, int b)
int2 vec2_to_int2 (vector2 k)
vector2 int2_to_vec2 (int2 k)
int3 __operator__add__ (int3 a, int3 b)
int3 __operator__add__ (int3 a, int b)
int3 __operator__mul__ (int3 a, int3 b)
int3 __operator__mul__ (int3 a, int b)
int3 __operator__shr__ (int3 a, int b)
int3 __operator__xor__ (int3 a, int3 b)
int3 __operator__bitand__ (int3 a, int b)
int3 vec3_to_int3 (point k)
point int3_to_vec3 (int3 k)
int4 __operator__add__ (int4 a, int4 b)
int4 __operator__add__ (int4 a, int b)
int4 __operator__mul__ (int4 a, int4 b)
int4 __operator__mul__ (int4 a, int b)
int4 __operator__shr__ (int4 a, int b)
int4 __operator__xor__ (int4 a, int4 b)
int4 __operator__bitand__ (int4 a, int b)
int4 vec4_to_int4 (vector4 k)
vector4 int4_to_vec4 (int4 k)

Function Documentation

◆ __operator__add__() [1/6]

int2 __operator__add__ ( int2 a,
int b )

Definition at line 18 of file int_vector_types.h.

References b, int2::x, and int2::y.

◆ __operator__add__() [2/6]

int2 __operator__add__ ( int2 a,
int2 b )

Definition at line 13 of file int_vector_types.h.

References b, int2::x, and int2::y.

◆ __operator__add__() [3/6]

int3 __operator__add__ ( int3 a,
int b )

Definition at line 69 of file int_vector_types.h.

References b, int3::x, int3::y, and int3::z.

◆ __operator__add__() [4/6]

int3 __operator__add__ ( int3 a,
int3 b )

Definition at line 64 of file int_vector_types.h.

References b, int3::x, int3::y, and int3::z.

◆ __operator__add__() [5/6]

int4 __operator__add__ ( int4 a,
int b )

Definition at line 121 of file int_vector_types.h.

References b, int4::w, int4::x, int4::y, and int4::z.

◆ __operator__add__() [6/6]

int4 __operator__add__ ( int4 a,
int4 b )

Definition at line 116 of file int_vector_types.h.

References b, int4::w, int4::x, int4::y, and int4::z.

◆ __operator__bitand__() [1/3]

int2 __operator__bitand__ ( int2 a,
int b )

Definition at line 43 of file int_vector_types.h.

References b, int2::x, and int2::y.

◆ __operator__bitand__() [2/3]

int3 __operator__bitand__ ( int3 a,
int b )

Definition at line 94 of file int_vector_types.h.

References b, int3::x, int3::y, and int3::z.

◆ __operator__bitand__() [3/3]

int4 __operator__bitand__ ( int4 a,
int b )

Definition at line 146 of file int_vector_types.h.

References b, int4::w, int4::x, int4::y, and int4::z.

◆ __operator__mul__() [1/6]

int2 __operator__mul__ ( int2 a,
int b )

Definition at line 28 of file int_vector_types.h.

References b, int2::x, and int2::y.

◆ __operator__mul__() [2/6]

int2 __operator__mul__ ( int2 a,
int2 b )

Definition at line 23 of file int_vector_types.h.

References b, int2::x, and int2::y.

◆ __operator__mul__() [3/6]

int3 __operator__mul__ ( int3 a,
int b )

Definition at line 79 of file int_vector_types.h.

References b, int3::x, int3::y, and int3::z.

◆ __operator__mul__() [4/6]

int3 __operator__mul__ ( int3 a,
int3 b )

Definition at line 74 of file int_vector_types.h.

References b, int3::x, int3::y, and int3::z.

◆ __operator__mul__() [5/6]

int4 __operator__mul__ ( int4 a,
int b )

Definition at line 131 of file int_vector_types.h.

References b, int4::w, int4::x, int4::y, and int4::z.

◆ __operator__mul__() [6/6]

int4 __operator__mul__ ( int4 a,
int4 b )

Definition at line 126 of file int_vector_types.h.

References b, int4::w, int4::x, int4::y, and int4::z.

◆ __operator__shr__() [1/3]

int2 __operator__shr__ ( int2 a,
int b )

Definition at line 33 of file int_vector_types.h.

References b, int2::x, and int2::y.

◆ __operator__shr__() [2/3]

int3 __operator__shr__ ( int3 a,
int b )

Definition at line 84 of file int_vector_types.h.

References b, int3::x, int3::y, and int3::z.

◆ __operator__shr__() [3/3]

int4 __operator__shr__ ( int4 a,
int b )

Definition at line 136 of file int_vector_types.h.

References b, int4::w, int4::x, int4::y, and int4::z.

◆ __operator__xor__() [1/3]

int2 __operator__xor__ ( int2 a,
int2 b )

Definition at line 38 of file int_vector_types.h.

References b, int2::x, and int2::y.

◆ __operator__xor__() [2/3]

int3 __operator__xor__ ( int3 a,
int3 b )

Definition at line 89 of file int_vector_types.h.

References b, int3::x, int3::y, and int3::z.

◆ __operator__xor__() [3/3]

int4 __operator__xor__ ( int4 a,
int4 b )

Definition at line 141 of file int_vector_types.h.

References b, int4::w, int4::x, int4::y, and int4::z.

◆ int2_to_vec2()

vector2 int2_to_vec2 ( int2 k)

◆ int3_to_vec3()

◆ int4_to_vec4()

◆ vec2_to_int2()

int2 vec2_to_int2 ( vector2 k)

◆ vec3_to_int3()

int3 vec3_to_int3 ( point k)

◆ vec4_to_int4()

int4 vec4_to_int4 ( vector4 k)