My Project
Loading...
Searching...
No Matches
Functions
opengl_middleware.cpp File Reference
#include "opengl_middleware.hh"
#include "inputs.hh"
#include <GLFW/glfw3.h>
#include <cstdlib>
#include <iostream>
#include <mutex>
Include dependency graph for opengl_middleware.cpp:

Functions

void viewport_size_callback (GLFWwindow *window, int width, int height)
 
void glfw_scroll_callback (GLFWwindow *window, double xoffset, double yoffset)
 
void glfw_mouse_callback (GLFWwindow *window, double xposIn, double yposIn)
 
void glfw_mouse_button_callback (GLFWwindow *window, int button, int action, int mods)
 
void glfw_keyboard_callback (GLFWwindow *window, int key, int scancode, int action, int mods)
 

Function Documentation

◆ glfw_keyboard_callback()

void glfw_keyboard_callback ( GLFWwindow *  window,
int  key,
int  scancode,
int  action,
int  mods 
)

◆ glfw_mouse_button_callback()

void glfw_mouse_button_callback ( GLFWwindow *  window,
int  button,
int  action,
int  mods 
)

◆ glfw_mouse_callback()

void glfw_mouse_callback ( GLFWwindow *  window,
double  xposIn,
double  yposIn 
)

◆ glfw_scroll_callback()

void glfw_scroll_callback ( GLFWwindow *  window,
double  xoffset,
double  yoffset 
)

◆ viewport_size_callback()

void viewport_size_callback ( GLFWwindow *  window,
int  width,
int  height 
)