Blender V5.3
gpu_shader_material_rotation_to_axis_angle.bsl.hh
Go to the documentation of this file.
1/* SPDX-FileCopyrightText: 2026 Blender Authors
2 *
3 * SPDX-License-Identifier: GPL-2.0-or-later */
4
5#pragma once
6
8
9[[node]]
10void rotation_to_axis_angle(float4 rotation, float3 &axis, float &angle)
11{
13 axis = aa.axis;
14 angle = aa.angle;
15}
SIMD_FORCE_INLINE btScalar angle(const btVector3 &v) const
Return the angle between this and another vector.
Definition btVector3.h:356
void rotation_to_axis_angle(float4 rotation, float3 &axis, float &angle)
AxisAngle to_axis_angle(Quaternion quat)
static Quaternion from_float4(float4 v)