Files
live-wallpaper/src/globals.h

13 lines
403 B
C++

#pragma once
#include "tmath.hpp"
#include <vector>
#include <string>
// Some globals that are passed to the Effects as uniforms
extern float g_Time;
extern Vector4 g_Mouse; // x, y position, z = left button, w = right button
extern std::vector<Vector4> g_Displays; // x, y, w, h
extern Vector2 g_DesktopSize; // width, height
extern std::string g_ScriptDir; // directory containing the loaded script