Blender
V4.3
source
blender
blenlib
BLI_math_rotation_legacy.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
11
#include "
BLI_math_vector_types.hh
"
12
13
namespace
blender::math
{
14
18
float3
rotate_direction_around_axis
(
const
float3
&direction,
const
float3
&axis,
float
angle);
19
24
float3
rotate_around_axis
(
const
float3
&
vector
,
25
const
float3
¢er,
26
const
float3
&axis,
27
float
angle);
28
29
}
// namespace blender::math
BLI_math_vector_types.hh
vector
Definition
cycles/util/vector.h:22
blender::math
Definition
BLI_math_angle_types.hh:25
blender::math::rotate_direction_around_axis
float3 rotate_direction_around_axis(const float3 &direction, const float3 &axis, float angle)
Definition
math_rotation.cc:112
blender::math::rotate_around_axis
float3 rotate_around_axis(const float3 &vector, const float3 ¢er, const float3 &axis, float angle)
Definition
math_rotation.cc:129
float3
Definition
sky_float3.h:26
Generated on Thu Feb 6 2025 07:36:39 for Blender by
doxygen
1.11.0