Blender  V3.3
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 
23  const float3 &center,
24  const float3 &axis,
25  float angle);
26 
27 } // namespace blender::math
NSNotificationCenter * center
SIMD_FORCE_INLINE btScalar angle(const btVector3 &v) const
Return the angle between this and another vector.
Definition: btVector3.h:356
float3 rotate_direction_around_axis(const float3 &direction, const float3 &axis, float angle)
float3 rotate_around_axis(const float3 &vector, const float3 &center, const float3 &axis, float angle)