|
Blender V5.3
|
#include "gpu_shader_math_euler.bsl.hh"#include "gpu_shader_math_matrix_construct.bsl.hh"#include "gpu_shader_math_vector_safe.bsl.hh"Go to the source code of this file.
Functions | |
| void | mapping_mat4 (float3 vec, float4 m0, float4 m1, float4 m2, float4 m3, float3 minvec, float3 maxvec, float3 &outvec) |
| void | mapping_point (float3 vector, float3 location, float3 rotation, float3 scale, float3 &result) |
| void | mapping_texture (float3 vector, float3 location, float3 rotation, float3 scale, float3 &result) |
| void | mapping_vector (float3 vector, float3, float3 rotation, float3 scale, float3 &result) |
| void | mapping_normal (float3 vector, float3, float3 rotation, float3 scale, float3 &result) |
| void mapping_mat4 | ( | float3 | vec, |
| float4 | m0, | ||
| float4 | m1, | ||
| float4 | m2, | ||
| float4 | m3, | ||
| float3 | minvec, | ||
| float3 | maxvec, | ||
| float3 & | outvec ) |
Definition at line 12 of file gpu_shader_material_mapping.bsl.hh.
References clamp(), and mapping_mat4().
Referenced by mapping_mat4().
Definition at line 47 of file gpu_shader_material_mapping.bsl.hh.
References EulerXYZ::from_float3(), from_rotation(), mapping_normal(), normalize, safe_divide(), and scale().
Referenced by mapping_normal().
| void mapping_point | ( | float3 | vector, |
| float3 | location, | ||
| float3 | rotation, | ||
| float3 | scale, | ||
| float3 & | result ) |
Definition at line 27 of file gpu_shader_material_mapping.bsl.hh.
References EulerXYZ::from_float3(), from_rotation(), mapping_point(), and scale().
Referenced by mapping_point().
| void mapping_texture | ( | float3 | vector, |
| float3 | location, | ||
| float3 | rotation, | ||
| float3 | scale, | ||
| float3 & | result ) |
Definition at line 33 of file gpu_shader_material_mapping.bsl.hh.
References EulerXYZ::from_float3(), from_rotation(), mapping_texture(), safe_divide(), scale(), and transpose.
Referenced by mapping_texture().
Definition at line 40 of file gpu_shader_material_mapping.bsl.hh.
References EulerXYZ::from_float3(), from_rotation(), mapping_vector(), and scale().
Referenced by mapping_vector().