meta: add GLM as a submodule
This commit is contained in:
parent
31da1c0998
commit
028d927b6d
|
@ -1,3 +1,6 @@
|
|||
[submodule "imgui"]
|
||||
path = imgui
|
||||
url = https://github.com/ocornut/imgui
|
||||
[submodule "glm"]
|
||||
path = glm
|
||||
url = https://github.com/g-truc/glm
|
||||
|
|
|
@ -65,9 +65,11 @@ endif()
|
|||
|
||||
#---
|
||||
|
||||
# This provides Dear ImGui but also GL3W as an OpenGL loader
|
||||
if(NOT FACETS_PLATFORM STREQUAL gint)
|
||||
# This provides Dear ImGui but also GL3W as an OpenGL loader
|
||||
add_subdirectory(imgui-builds)
|
||||
# This provide GLM
|
||||
add_subdirectory(glm-builds)
|
||||
endif()
|
||||
|
||||
add_subdirectory(azur)
|
||||
|
|
|
@ -6,7 +6,7 @@ layout(location=1) in vec2 a_texture_pos;
|
|||
/* Location in image space */
|
||||
out vec2 v_position;
|
||||
|
||||
uniform vec3 u_windowSize;
|
||||
uniform vec2 u_windowSize;
|
||||
|
||||
void main() {
|
||||
v_position = a_texture_pos;
|
||||
|
|
|
@ -0,0 +1 @@
|
|||
Subproject commit 84f2045a79a4aa2454801a98e2de0401bd9c8aee
|
|
@ -0,0 +1,5 @@
|
|||
# Define the header-only library
|
||||
add_library(glm INTERFACE)
|
||||
|
||||
# Set the include directory
|
||||
target_include_directories(glm INTERFACE ../glm)
|
Loading…
Reference in New Issue