Blender V4.3
math_int3.h File Reference

Go to the source code of this file.

Functions

CCL_NAMESPACE_BEGIN ccl_device_inline int3 min (int3 a, int3 b)
 
ccl_device_inline int3 max (int3 a, int3 b)
 
ccl_device_inline int3 clamp (const int3 a, int mn, int mx)
 
ccl_device_inline int3 clamp (const int3 a, int3 &mn, int mx)
 
ccl_device_inline bool operator== (const int3 a, const int3 b)
 
ccl_device_inline bool operator!= (const int3 a, const int3 b)
 
ccl_device_inline bool operator< (const int3 a, const int3 b)
 
ccl_device_inline int3 operator+ (const int3 a, const int3 b)
 
ccl_device_inline int3 operator- (const int3 a, const int3 b)
 

Function Documentation

◆ clamp() [1/2]

ccl_device_inline int3 clamp ( const int3 a,
int mn,
int mx )

Definition at line 33 of file math_int3.h.

References clamp(), make_int3(), max, and min.

Referenced by clamp(), and clamp().

◆ clamp() [2/2]

ccl_device_inline int3 clamp ( const int3 a,
int3 & mn,
int mx )

Definition at line 42 of file math_int3.h.

References clamp(), make_int3(), max, min, int3::x, int3::y, and int3::z.

◆ max()

Definition at line 24 of file math_int3.h.

References b, make_int3(), and max.

◆ min()

Definition at line 15 of file math_int3.h.

References b, make_int3(), and min.

◆ operator!=()

ccl_device_inline bool operator!= ( const int3 a,
const int3 b )

Definition at line 56 of file math_int3.h.

References b.

◆ operator+()

ccl_device_inline int3 operator+ ( const int3 a,
const int3 b )

Definition at line 66 of file math_int3.h.

References b, and make_int3().

◆ operator-()

ccl_device_inline int3 operator- ( const int3 a,
const int3 b )

Definition at line 75 of file math_int3.h.

References b, and make_int3().

◆ operator<()

ccl_device_inline bool operator< ( const int3 a,
const int3 b )

Definition at line 61 of file math_int3.h.

References b.

◆ operator==()

ccl_device_inline bool operator== ( const int3 a,
const int3 b )

Definition at line 51 of file math_int3.h.

References b.