Blender
V5.3
source
blender
gpu
shaders
common
gpu_shader_math_axis_angle.bsl.hh
Go to the documentation of this file.
1
/* SPDX-FileCopyrightText: 2023 Blender Authors
2
*
3
* SPDX-License-Identifier: GPL-2.0-or-later */
4
5
#pragma once
6
7
#include "
gpu_shader_compat.hh
"
8
9
struct
AxisAngle
{
10
float3
axis
;
11
float
angle
;
12
13
static
AxisAngle
identity
()
14
{
15
return
{
float3
(0, 1, 0), 0};
16
}
17
};
gpu_shader_compat.hh
blender::float3
VecBase< float, 3 > float3
Definition
BLI_math_vector_types.hh:799
AxisAngle
Definition
gpu_shader_math_axis_angle.bsl.hh:9
AxisAngle::identity
static AxisAngle identity()
Definition
gpu_shader_math_axis_angle.bsl.hh:13
AxisAngle::angle
float angle
Definition
gpu_shader_math_axis_angle.bsl.hh:11
AxisAngle::axis
float3 axis
Definition
gpu_shader_math_axis_angle.bsl.hh:10
Generated on
for Blender by
doxygen
1.18.0