Blender V5.0
types_float4.h File Reference
#include "util/types_base.h"
#include "util/types_float3.h"
#include "util/types_int4.h"

Go to the source code of this file.

Functions

struct ccl_try_align (16) float4
ccl_device_inline float4 make_float4 (const float x, const float y, float z, const float w)
ccl_device_inline float4 make_float4 (const float f)
ccl_device_inline float4 make_float4 (const float3 a, const float b)
ccl_device_inline float4 make_float4 (const float3 a)
ccl_device_inline float4 make_homogeneous (const float3 a)
ccl_device_inline float4 make_float4 (const int4 i)
ccl_device_inline float3 make_float3 (const float4 a)
ccl_device_inline int4 make_int4 (const float4 f)
ccl_device_inline void print_float4 (const ccl_private char *label, const float4 a)

Function Documentation

◆ ccl_try_align()

struct ccl_try_align ( 16 )

Definition at line 11 of file types_float4.h.

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

◆ make_float3()

ccl_device_inline float3 make_float3 ( const float4 a)

Definition at line 108 of file types_float4.h.

References ccl_device_inline, make_float3(), float4::x, float4::y, and float4::z.

Referenced by make_float3().

◆ make_float4() [1/5]

ccl_device_inline float4 make_float4 ( const float f)

Definition at line 75 of file types_float4.h.

References ccl_device_inline, and make_float4.

◆ make_float4() [2/5]

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

Definition at line 64 of file types_float4.h.

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

◆ make_float4() [3/5]

ccl_device_inline float4 make_float4 ( const float3 a)

Definition at line 89 of file types_float4.h.

References ccl_device_inline, make_float4, float3::x, float3::y, and float3::z.

◆ make_float4() [4/5]

ccl_device_inline float4 make_float4 ( const float3 a,
const float b )

Definition at line 84 of file types_float4.h.

References b, ccl_device_inline, make_float4, float3::x, float3::y, and float3::z.

◆ make_float4() [5/5]

ccl_device_inline float4 make_float4 ( const int4 i)

Definition at line 99 of file types_float4.h.

References ccl_device_inline, i, and make_float4.

◆ make_homogeneous()

ccl_device_inline float4 make_homogeneous ( const float3 a)

Definition at line 94 of file types_float4.h.

References ccl_device_inline, make_float4, float3::x, float3::y, and float3::z.

◆ make_int4()

ccl_device_inline int4 make_int4 ( const float4 f)

Definition at line 113 of file types_float4.h.

References ccl_device_inline, make_int4(), float4::w, float4::x, float4::y, and float4::z.

Referenced by make_int4().

◆ print_float4()

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

Definition at line 126 of file types_float4.h.

References ccl_device_inline, ccl_private, printf, float4::w, float4::x, float4::y, and float4::z.

Referenced by print_projection(), and print_transform().