Blender V5.0
interface_template_matrix.cc File Reference
#include <fmt/format.h>
#include "BKE_unit.hh"
#include "BLI_math_matrix.h"
#include "BLI_math_rotation.h"
#include "BLT_translation.hh"
#include "RNA_access.hh"
#include "RNA_enum_types.hh"
#include "interface_intern.hh"

Go to the source code of this file.

Functions

static std::string format_unit_value (float value, PropertySubType subtype, uiLayout *layout)
static std::string format_coefficient (float value)
static void rotation_mode_menu_callback (bContext *, uiLayout *layout, void *)
static void draw_matrix_template (uiLayout &layout, PointerRNA &ptr, PropertyRNA &prop)
void uiTemplateMatrix (uiLayout *layout, PointerRNA *ptr, const StringRefNull propname)

Variables

static int rotation_mode_index = ROT_MODE_EUL

Function Documentation

◆ draw_matrix_template()

◆ format_coefficient()

std::string format_coefficient ( float value)
static

Definition at line 48 of file interface_template_matrix.cc.

Referenced by draw_matrix_template().

◆ format_unit_value()

◆ rotation_mode_menu_callback()

◆ uiTemplateMatrix()

Variable Documentation

◆ rotation_mode_index

int rotation_mode_index = ROT_MODE_EUL
static