Int3

Types

struct Int3 A SIMD vector of 3 ints. On Intel, this is an m128i, on Arm this is a int32x4_t.

Functions

Int3_Init( int32_t value ) : Int3

Int3_New( int32_t x, int32_t y, int32_t z ) : Int3

Int3_ToFloat( Int3 v ) : Vector3

Int3_X( Int3 a ) : int32_t

Int3_Y( Int3 a ) : int32_t

Int3_Z( Int3 a ) : int32_t

Int3_SetX( Int3 a, int32_t value ) : Int3

Int3_SetY( Int3 a, int32_t value ) : Int3

Int3_SetZ( Int3 a, int32_t value ) : Int3

Int3_Add( Int3 a, Int3 b ) : Int3

Int3_Sub( Int3 a, Int3 b ) : Int3

Int3_Mul( Int3 a, Int3 b ) : Int3

Int3_Min( Int3 a, Int3 b ) : Int3

Int3_Max( Int3 a, Int3 b ) : Int3

Int3_Abs( Int3 a ) : Int3

Int3_And( Int3 a, Int3 b ) : Int3

Int3_Or( Int3 a, Int3 b ) : Int3

Int3_Xor( Int3 a, Int3 b ) : Int3

Int3_AndNot( Int3 a, Int3 b ) : Int3

Int3_Select( Int3 a, Int3 b, Bool3 mask ) : Int3

Int3_Equal( Int3 a, Int3 b ) : Bool3

Int3_Less( Int3 a, Int3 b ) : Bool3

Int3_Greater( Int3 a, Int3 b ) : Bool3

Int3_NotEqual( Int3 a, Int3 b ) : Bool3

Int3_GreaterEqual( Int3 a, Int3 b ) : Bool3

Int3_LessEqual( Int3 a, Int3 b ) : Bool3

Swizzles

Int3_XXX( Int3 a ) : Int3
Int3_YYY( Int3 a ) : Int3
Int3_ZZZ( Int3 a ) : Int3

Int3_XYZ( Int3 a ) : Int4
Int3_XZY( Int3 a ) : Int4

Int3_YXZ( Int3 a ) : Int4
Int3_YZX( Int3 a ) : Int4

Int3_ZXY( Int3 a ) : Int4
Int3_ZYX( Int3 a ) : Int4