SimpleFastOpenAtomicVisualiser
All Classes Files Functions Variables Typedefs Enumerations Enumerator Macros Pages
Public Member Functions | List of all members
Axes Class Reference

Render the coordinate axes. More...

#include <axes.h>

Public Member Functions

 Axes (const Camera &camera)
 
void updateCamera (const Camera &camera)
 Update renderer from a Camera.
 
void draw (glm::ivec4 viewport={10, 10, 85, 85})
 Draw the coordinate axes.
 

Detailed Description

Render the coordinate axes.

Remarks
Renders a fixed view of the coordinate axes's orientation.

Constructor & Destructor Documentation

◆ Axes()

Axes::Axes ( const Camera camera)
inline

Member Function Documentation

◆ draw()

void Axes::draw ( glm::ivec4  viewport = {10, 10, 85, 85})
inline

Draw the coordinate axes.

Parameters
viewportthe viewport to draw the axes in.

◆ updateCamera()

void Axes::updateCamera ( const Camera camera)
inline

Update renderer from a Camera.

Parameters
camerathe camera to update from.

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