Physics Simulation & Visualization Tool 0.1
A C++ physics simulation engine with real-time 3D visualization
Loading...
Searching...
No Matches
IHandle.h File Reference

Interface for interactive manipulation handles on gizmos. More...

#include "../core/IDrawable.h"
#include <glm/gtc/quaternion.hpp>
#include "Axis.h"
Include dependency graph for IHandle.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Data Structures

interface  IHandle
 Abstract interface for gizmo manipulation handles. More...
 

Functions

constexpr glm::vec3 axisDir (Axis a)
 Converts an axis enum to its corresponding unit vector.
 

Detailed Description

Interface for interactive manipulation handles on gizmos.

Definition in file IHandle.h.

Function Documentation

◆ axisDir()

constexpr glm::vec3 axisDir ( Axis  a)
constexpr

Converts an axis enum to its corresponding unit vector.

Parameters
aThe axis to convert.
Returns
Unit vector along the specified axis.

Definition at line 17 of file IHandle.h.

Here is the caller graph for this function: