Last active
December 18, 2022 00:01
-
-
Save VictorQueiroz/33a44cf3d0c679047cdec3e2ad21b1dc to your computer and use it in GitHub Desktop.
OpenGL coordinates struct
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#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