Euphoria
eu::window::imgui::guizmo Namespace Reference

Functions

void setup ()
 
void begin ()
 
bool translate (bool is_local, const std::optional< vec3f > &snap, const mat4f &camera_view, const mat4f &camera_projection, const mat4f &model, bool tx, bool ty, bool tz, vec3f *new_position)
 
bool rotate (bool is_local, const std::optional< Angle > &snap, const mat4f &camera_view, const mat4f &camera_projection, const mat4f &model, bool rx, bool ry, bool rz, quatf *new_rotation)
 

Function Documentation

◆ begin()

void eu::window::imgui::guizmo::begin ( )

Definition at line 15 of file imguizmo.cc.

◆ rotate()

bool eu::window::imgui::guizmo::rotate ( bool  is_local,
const std::optional< Angle > &  snap,
const mat4f camera_view,
const mat4f camera_projection,
const mat4f model,
bool  rx,
bool  ry,
bool  rz,
quatf new_rotation 
)

Definition at line 112 of file imguizmo.cc.

◆ setup()

void eu::window::imgui::guizmo::setup ( )

Definition at line 9 of file imguizmo.cc.

◆ translate()

bool eu::window::imgui::guizmo::translate ( bool  is_local,
const std::optional< vec3f > &  snap,
const mat4f camera_view,
const mat4f camera_projection,
const mat4f model,
bool  tx,
bool  ty,
bool  tz,
vec3f new_position 
)

Definition at line 52 of file imguizmo.cc.