Blender V4.3
magic.h File Reference

Go to the source code of this file.

Functions

CCL_NAMESPACE_BEGIN ccl_device_noinline_cpu float3 svm_magic (float3 p, float scale, int n, float distortion)
 
ccl_device_noinline int svm_node_tex_magic (KernelGlobals kg, ccl_private ShaderData *sd, ccl_private float *stack, uint4 node, int offset)
 

Function Documentation

◆ svm_magic()

CCL_NAMESPACE_BEGIN ccl_device_noinline_cpu float3 svm_magic ( float3 p,
float scale,
int n,
float distortion )

Definition at line 11 of file magic.h.

References cosf, fmodf, M_2PI_F, make_float3(), sinf, float3::x, float3::y, float3::z, and z().

Referenced by svm_node_tex_magic().

◆ svm_node_tex_magic()