ofxManipulator
3D manipulator for moving objects in space. Partially integrates code from LibGizmo with some exceptions:
- Math is rewritten in openFrameworks.
- Works for both OpenGL 2.1 and 3.3+ renderers.
- Scaling, rotation and translation work properly together.
- You can move object in screen space by dragging from center of a translation manipulator.
Dependencies
1. OF 0.9.0 and C++11
Compiling
For openFrameworks:
For CMake-based openFrameworks:
Add this repo as a git submodule to your ofApp folder and use ofxaddon
command in CMakeLists.txt
.