Blender  V3.3
Functions
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 47 of file math_int3.h.

References Freestyle::a, make_int3, max(), and min().

Referenced by clamp().

◆ clamp() [2/2]

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

Definition at line 56 of file math_int3.h.

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

◆ max()

ccl_device_inline int3 max ( int3  a,
int3  b 
)

Definition at line 38 of file math_int3.h.

References Freestyle::a, usdtokens::b(), and make_int3.

Referenced by clamp().

◆ min()

Definition at line 29 of file math_int3.h.

References Freestyle::a, usdtokens::b(), and make_int3.

Referenced by clamp().

◆ operator!=()

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

Definition at line 70 of file math_int3.h.

References Freestyle::a, and usdtokens::b().

◆ operator+()

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

Definition at line 80 of file math_int3.h.

References Freestyle::a, usdtokens::b(), and make_int3.

◆ operator-()

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

Definition at line 89 of file math_int3.h.

References Freestyle::a, usdtokens::b(), and make_int3.

◆ operator<()

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

Definition at line 75 of file math_int3.h.

References Freestyle::a, and usdtokens::b().

◆ operator==()

int operator== ( const int3 a,
const int3 b 
)

Definition at line 65 of file math_int3.h.

References Freestyle::a, and usdtokens::b().