|
Blender V5.3
|
#include "gpu_shader_compat.hh"Go to the source code of this file.
Classes | |
| struct | Quaternion |
Functions | |
Quaternion Math | |
| Quaternion | math_quaternion_multiply (Quaternion a, Quaternion b) |
| Quaternion | quaternion_conjugate (Quaternion q) |
| float3 | transform_point_by_quaternion (Quaternion q, float3 v) |
| float3x3 | quaternion_to_float3x3 (Quaternion q) |
| Quaternion math_quaternion_multiply | ( | Quaternion | a, |
| Quaternion | b ) |
Definition at line 32 of file gpu_shader_math_quaternion.bsl.hh.
References b, math_quaternion_multiply(), Quaternion::w, Quaternion::x, Quaternion::y, and Quaternion::z.
Referenced by align_rotation_to_vector_auto_pivot(), align_rotation_to_vector_fixed_pivot(), math_quaternion_multiply(), rotate_rotation_global(), rotate_rotation_local(), and transform_point_by_quaternion().
| Quaternion quaternion_conjugate | ( | Quaternion | q | ) |
Definition at line 42 of file gpu_shader_math_quaternion.bsl.hh.
References quaternion_conjugate(), Quaternion::w, Quaternion::x, Quaternion::y, and Quaternion::z.
Referenced by invert_rotation(), quaternion_conjugate(), and transform_point_by_quaternion().
| float3x3 quaternion_to_float3x3 | ( | Quaternion | q | ) |
Definition at line 55 of file gpu_shader_math_quaternion.bsl.hh.
References quaternion_to_float3x3(), Quaternion::w, Quaternion::x, Quaternion::y, and Quaternion::z.
Referenced by draw::gsplat::get_planar_normal(), draw::gsplat::get_rot_scale_mat(), and quaternion_to_float3x3().
| float3 transform_point_by_quaternion | ( | Quaternion | q, |
| float3 | v ) |
Definition at line 47 of file gpu_shader_math_quaternion.bsl.hh.
References math_quaternion_multiply(), quaternion_conjugate(), and transform_point_by_quaternion().
Referenced by align_rotation_to_vector_auto_pivot(), align_rotation_to_vector_fixed_pivot(), rotate_vector(), and transform_point_by_quaternion().