Blender V5.3
transform_mode_rotate_quadrants.hh
Go to the documentation of this file.
1/* SPDX-FileCopyrightText: 2026 Blender Authors
2 *
3 * SPDX-License-Identifier: GPL-2.0-or-later */
4
11
12#pragma once
13
14#include <optional>
15
16struct TransInfo;
17
18namespace blender::ed::transform {
19
25 const float axis[3],
26 const float angle,
27 const std::optional<int> quadrant);
28
37std::optional<int> transform_angle_to_quadrant_or_null(const TransInfo *t,
38 const bool is_large_rotation_limited);
39
40} // namespace blender::ed::transform
SIMD_FORCE_INLINE btScalar angle(const btVector3 &v) const
Return the angle between this and another vector.
Definition btVector3.h:356
std::optional< int > transform_angle_to_quadrant_or_null(const TransInfo *t, const bool is_large_rotation_limited)
void axis_angle_normalized_to_mat3_with_quadrant(float mat[3][3], const float axis[3], const float angle, const std::optional< int > quadrant)