voxel-test/control.h
2024-07-19 21:14:40 -04:00

12 lines
No EOL
422 B
C

#ifndef V_CONTROL_H
#define V_CONTROL_H
#include "cubes.h"
#include "linmath.h"
#include "inv.h"
#include <GLFW/glfw3.h>
struct v3f control_handler(double cx, double cy, vec3 pos, vec3 dir_temp,
GLFWwindow *window, struct chunk chunk);
void control_lclick(double cx, double cy, vec3 pos, struct item *inv);
void control_rclick(double cx, double cy, vec3 pos, struct item *inv, int slot);
#endif