TazGraph Project v0.1.0
Loading...
Searching...
No Matches
Public Member Functions | List of all members
InputManager Class Reference

Public Member Functions

void update ()
 
void pressKey (unsigned int keyID)
 
void releaseKey (unsigned int keyID)
 
bool isKeyDown (unsigned int keyID)
 
bool isKeyPressed (unsigned int keyID)
 
bool checkMouseCollision (glm::vec2 position, glm::ivec2 tr_size)
 
void setMouseCoords (float x, float y)
 
glm::vec2 getMouseCoords () const
 
void setPanningPoint (const glm::vec2 position)
 
glm::vec2 calculatePanningDelta (glm::vec2 position)
 
void setObjectRelativePos (glm::vec2 relativeObjectPos)
 
glm::vec2 getObjectRelativePos ()
 
glm::vec2 convertWindowToViewportCoords (const glm::vec2 windowDimensions, const glm::vec2 &windowPos, const glm::vec2 viewportSize, const ICamera &camera)
 

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