|
Blender V5.3
|
#include "gpu_shader_math_base.bsl.hh"#include "gpu_shader_math_euler.bsl.hh"#include "gpu_shader_math_matrix_compare.bsl.hh"#include "gpu_shader_math_quaternion.bsl.hh"Go to the source code of this file.
Functions | |
Conversion function. | |
| float3 | to_scale (float3x3 mat) |
| float3 | to_scale (float4x4 mat) |
| template<typename MatT, bool allow_negative_scale> | |
| float3 | to_scale (MatT mat) |
| template float3 | to_scale< float3x3, true > (float3x3 mat) |
| template float3 | to_scale< float3x3, false > (float3x3 mat) |
| template float3 | to_scale< float4x4, true > (float4x4 mat) |
| template float3 | to_scale< float4x4, false > (float4x4 mat) |
Extract the absolute 3d scale from a transform matrix.
Definition at line 19 of file gpu_shader_math_matrix_conversion.bsl.hh.
References length(), and to_scale().
Referenced by gpu_math_test_main(), draw::Curves::object_to_world(), draw::pointcloud::object_to_world(), blender::shadow_terminator_normal_offset_get(), blender::tests::TEST(), to_rot_scale(), to_rot_scale(), to_scale(), to_scale(), to_scale(), to_scale< float3x3, false >(), to_scale< float3x3, true >(), to_scale< float4x4, false >(), and to_scale< float4x4, true >().
Extract the absolute 3d scale from a transform matrix.
Definition at line 26 of file gpu_shader_math_matrix_conversion.bsl.hh.
References to_scale().
| float3 to_scale | ( | MatT | mat | ) |
Extract the absolute 3d scale from a transform matrix.
Definition at line 33 of file gpu_shader_math_matrix_conversion.bsl.hh.
References is_negative(), and to_scale().
References to_scale().
References to_scale().
References to_scale().
References to_scale().