Blender V5.3
transform_mode_rotate_quadrants.hh File Reference
#include <optional>

Go to the source code of this file.

Namespaces

namespace  blender
 BMesh Iterators.
namespace  blender::ed
namespace  blender::ed::transform

Functions

Public Functions
void blender::ed::transform::axis_angle_normalized_to_mat3_with_quadrant (float mat[3][3], const float axis[3], const float angle, const std::optional< int > quadrant)
std::optional< int > blender::ed::transform::transform_angle_to_quadrant_or_null (const TransInfo *t, const bool is_large_rotation_limited)

Detailed Description

Used to apply 90 degree rotations directly, without imprecision from floating point operations, see #150900.

Definition in file transform_mode_rotate_quadrants.hh.