1 // Copyright 2018-2021 Intel Corporation 2 // SPDX-License-Identifier: Apache-2.0 3 4 #include "imGuIZMOquat.h" 5 6 #include "Guizmo.h" 7 8 namespace ospray_studio { 9 10 // XXX Example of a manipulator gizmo 11 guizmo()12void guizmo() 13 { 14 // For imGuIZMO, declare static or global variable or member class quaternion 15 static quat qRot = quat(1.f, 0.f, 0.f, 0.f); 16 ImGui::gizmo3D("##gizmo1", qRot /*, size, mode */); 17 } 18 19 } // namespace ospray_studio 20