Blender
V3.3
source
blender
blenlib
BLI_math_rotation.hh
Go to the documentation of this file.
1
/* SPDX-License-Identifier: GPL-2.0-or-later */
2
3
#pragma once
4
9
#include "
BLI_math_vec_types.hh
"
10
11
namespace
blender::math
{
12
16
float3
rotate_direction_around_axis
(
const
float3
&direction,
const
float3
&axis,
float
angle
);
17
22
float3
rotate_around_axis
(
const
float3
&
vector
,
23
const
float3
&
center
,
24
const
float3
&axis,
25
float
angle
);
26
27
}
// namespace blender::math
BLI_math_vec_types.hh
center
NSNotificationCenter * center
Definition:
GHOST_SystemCocoa.mm:370
angle
SIMD_FORCE_INLINE btScalar angle(const btVector3 &v) const
Return the angle between this and another vector.
Definition:
btVector3.h:356
vector
Definition:
cycles/util/vector.h:22
blender::math
Definition:
BLI_math_base.hh:17
blender::math::rotate_direction_around_axis
float3 rotate_direction_around_axis(const float3 &direction, const float3 &axis, float angle)
Definition:
math_rotation.cc:14
blender::math::rotate_around_axis
float3 rotate_around_axis(const float3 &vector, const float3 ¢er, const float3 &axis, float angle)
Definition:
math_rotation.cc:26
float3
Definition:
oneapi/compat.h:158
Generated on Sat Jul 27 2024 14:57:55 for Blender by
doxygen
1.9.1