Blender V5.3
gpu_shader_common_math_utils.bsl.hh File Reference

Go to the source code of this file.

Functions

void invert_z (float3 v, float3 &outv)
void vector_normalize (float3 normal, float3 &outnormal)
void vector_copy (float3 normal, float3 &outnormal)

Function Documentation

◆ invert_z()

void invert_z ( float3 v,
float3 & outv )

Definition at line 10 of file gpu_shader_common_math_utils.bsl.hh.

References invert_z().

Referenced by invert_z().

◆ vector_copy()

void vector_copy ( float3 normal,
float3 & outnormal )

Definition at line 25 of file gpu_shader_common_math_utils.bsl.hh.

References vector_copy().

Referenced by vector_copy().

◆ vector_normalize()

void vector_normalize ( float3 normal,
float3 & outnormal )

Definition at line 17 of file gpu_shader_common_math_utils.bsl.hh.

References dot(), inversesqrt(), and vector_normalize().

Referenced by vector_normalize().