25#ifndef _3D_SPHERES_GIZMO_H_ 
   26#define _3D_SPHERES_GIZMO_H_ 
   40    void                           setViewport( 
int ax, 
int ay, 
int aWidth, 
int aHeight );
 
  102                                                 { 0.9f, 0.0f, 0.0f },
 
  103                                                 { 0.9f, 0.0f, 0.0f } },
 
  107                                                 { 0.4f, 0.0f, 0.0f },
 
  108                                                 { 0.4f, 0.0f, 0.0f } },
 
  112                                                 { 0.0f, 0.9f, 0.0f },
 
  113                                                 { 0.0f, 0.9f, 0.0f } },
 
  117                                                 { 0.0f, 0.4f, 0.0f },
 
  118                                                 { 0.0f, 0.4f, 0.0f } },
 
  122                                                 { 0.0f, 0.0f, 0.9f },
 
  123                                                 { 0.0f, 0.0f, 0.9f } },
 
  127                                                 { 0.0f, 0.0f, 0.4f },
 
  128                                                 { 0.0f, 0.0f, 0.4f } } } };
 
 
 
#define RANGE_SCALE_3D
This defines the range that all coord will have to be rendered.
 
GizmoSphereSelection
Enum to indicate which sphere (direction) is selected.
 
@ None
No sphere selected.
 
@ Count
Number of selectable spheres.
 
void handleMouseInput(int aMouseX, int aMouseY)
 
void render3dSpheresGizmo(glm::mat4 aCameraRotationMatrix)
 
std::array< GizmoSphere, 6 > m_spheres
List of all directional gizmo spheres.
 
GizmoSphereSelection getSelectedGizmoSphere() const
 
std::tuple< int, int, int, int > getViewport() const
 
void setViewport(int ax, int ay, int aWidth, int aHeight)
 
GizmoSphereSelection m_selectedGizmoSphere
 
SPHERES_GIZMO(int aGizmoPosX, int aGizmoPosY)
 
void resetSelectedGizmoSphere()
 
const float m_sphereRadius
 
void setGizmoPosition(int ax, int ay)
 
glm::vec3 m_originalColor
 
glm::vec3 m_labelPosition