Allolib  1.0
C++ Components For Interactive Multimedia
al::Gnomon Struct Reference

#include <C:/Users/Andres/source/repos/casm_viewer/external/tinc/external/allolib/include/al/ui/al_Gnomon.hpp>

Public Member Functions

void draw (Graphics &g)
 
void drawFloating (Graphics &g, Pose pose=Pose(), double scale=1.0)
 floating gnomon in front of camera
 
void drawAtPos (Graphics &g, Vec3f pos, Pose cam_pose=Pose(), double scale=1.0)
 Gnomon at any position.
 
void drawOrigin (Graphics &g, Pose cam_pose=Pose(), double scale=1.0)
 
void drawAtPose (Graphics &g, Pose pose, Pose cam_pose=Pose(), double scale=1.0)
 Gnomon at any pose.
 
void drawArrows (Graphics &g)
 
void drawLabels (Graphics &g, FontRenderer &fontrender, Pose cam_pose, double scale=1.0, Vec3f offset=Vec3f(0, 0, 0))
 

Public Attributes

Mesh gnomonMesh
 
Mesh arrowMesh
 
Color colors [3]
 
const char * labels [3]
 

Detailed Description

Gnomon

Definition at line 14 of file al_Gnomon.hpp.


The documentation for this struct was generated from the following file: