Skip to content

imGuIZMO.quat v3.0

Latest
Compare
Choose a tag to compare
@BrutPitt BrutPitt released this 28 Apr 05:19
· 3 commits to master since this release

New in the imGuIZMO.quat v3.0

  • New widgets with Pan/Dolly (Move/Zoom) features
    • Default key modifiers are Ctrl (Pan) and Shift (Dolly), but they can be changed with setPanModifier and setDollyModifier helper functions.
    • When press and hold a key modifier (Ctrl/Shift/Alt/Super) and hover the mouse over the widget, a graphical helper appears in the left bottom corner, now with the new symbols for Pan or Dolly features
rotation around X rotation around Y rotation around Z Pan / move Dolly / zoom
alt text alt text alt text alt text alt text

Please, read main-page for more information: imGuIZMO.quat

NOTE
Already from v.2.2 is changed capitalization of search "include" path:

  • It changes from ImGui to imgui, to adapt it to the ImGui repository directory

Now you can set it from IMGUIZMO_IMGUI_FOLDER define in vgConfig.h, for more flexibility (#5)

//------------------------------------------------------------------------------
// imGuiZmo.quat - v3.0 and later - (used only inside it)
//
//      used to specify where ImGui include files should be searched
//          #define IMGUIZMO_IMGUI_FOLDER  
//              is equivalent to use:
//                  #include <imgui.h>
//                  #include <imgui_internal.h>
//          #define IMGUIZMO_IMGUI_FOLDER myLibs/ImGui/
//              (final slash is REQUIRED) is equivalent to use: 
//                  #include <myLib/ImGui/imgui.h>
//                  #include <myLib/ImGui/imgui_internal.h>
//          Default: IMGUIZMO_IMGUI_FOLDER commented/undefined
//              is equivalent to use:
//                  #include <imgui/imgui.h>
//                  #include <imgui/imgui_internal.h>
//
// N.B. Final slash to end of path is REQUIRED!
//------------------------------------------------------------------------------
// #define IMGUIZMO_IMGUI_FOLDER ImGui/

Or to use -D compiler flag, as described here: 5#-issue-comment