Blender  V2.93
Functions
svm_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, int n, float distortion)
 
ccl_device void svm_node_tex_magic (KernelGlobals *kg, ShaderData *sd, float *stack, uint4 node, int *offset)
 

Function Documentation

◆ svm_magic()

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

Definition at line 21 of file svm_magic.h.

References cosf, make_float3, sinf, float3::x, x, float3::y, y, float3::z, and z.

Referenced by svm_node_tex_magic().

◆ svm_node_tex_magic()

ccl_device void svm_node_tex_magic ( KernelGlobals *  kg,
ShaderData sd,
float stack,
uint4  node,
int *  offset 
)