Blender V4.3
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
12
13namespace blender::math {
14
18float3 rotate_direction_around_axis(const float3 &direction, const float3 &axis, float angle);
19
25 const float3 &center,
26 const float3 &axis,
27 float angle);
28
29} // namespace blender::math
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)