Blender V5.3
blender::ed::Rotation Struct Reference

#include <ED_anim_transformable.hh>

Public Member Functions

Rotation converted_to_mode (eRotationModes mode, const Rotation *reference_euler=nullptr) const
void mirror ()

Public Attributes

TransformFloats values
eRotationModes mode

Detailed Description

Describes a rotation in a specific mode and can be used to convert into other modes.

Definition at line 60 of file ED_anim_transformable.hh.

Member Function Documentation

◆ converted_to_mode()

◆ mirror()

void blender::ed::Rotation::mirror ( )

Mirrors the rotation on the y-z plane. Modifies the values in place.

Definition at line 204 of file transformable.cc.

References blender::BLI_assert(), mode, blender::ROT_MODE_AXISANGLE, blender::ROT_MODE_QUAT, blender::ROT_MODE_ZYX, and values.

Member Data Documentation

◆ mode

◆ values


The documentation for this struct was generated from the following files: