Blender V4.3
types_float4_impl.h File Reference

Go to the source code of this file.

Functions

ccl_device_inline float4 make_float4 (float x, float y, float z, float w)
 
ccl_device_inline float4 make_float4 (float f)
 
ccl_device_inline float4 make_float4 (const int4 i)
 
ccl_device_inline void print_float4 (ccl_private const char *label, const float4 a)
 

Function Documentation

◆ make_float4() [1/3]

ccl_device_inline float4 make_float4 ( const int4 i)

Definition at line 72 of file types_float4_impl.h.

References make_float4(), int4::w, int4::x, int4::y, and int4::z.

◆ make_float4() [2/3]

ccl_device_inline float4 make_float4 ( float f)

Definition at line 63 of file types_float4_impl.h.

References make_float4().

◆ make_float4() [3/3]

ccl_device_inline float4 make_float4 ( float x,
float y,
float z,
float w )

Definition at line 52 of file types_float4_impl.h.

References w(), x, y, and z().

Referenced by make_float4(), and make_float4().

◆ print_float4()

ccl_device_inline void print_float4 ( ccl_private const char * label,
const float4 a )

Definition at line 81 of file types_float4_impl.h.

References label, and printf.

Referenced by print_projection(), and print_transform().