Skip to content

Instantly share code, notes, and snippets.

@VictorQueiroz
Last active December 18, 2022 00:01
Show Gist options
  • Save VictorQueiroz/33a44cf3d0c679047cdec3e2ad21b1dc to your computer and use it in GitHub Desktop.
Save VictorQueiroz/33a44cf3d0c679047cdec3e2ad21b1dc to your computer and use it in GitHub Desktop.
OpenGL coordinates struct
#pragma once
struct GLCoordinates {
static constexpr glm::vec3 topLeft = {-1.0,1.0f,0.0f};
static constexpr glm::vec3 topRight = {1.0,1.0f,0.0f};
static constexpr glm::vec3 bottomLeft = {-1.0f,-1.0f,0.0f};
static constexpr glm::vec3 bottomRight = {1.0f,-1.0f,0.0f};
};
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment