Project rename to Euclid

pull/5/head
E. Almqvist 2 years ago
parent ee5ef74d75
commit 248e4f89f7
  1. 8
      CMakeLists.txt
  2. BIN
      Euclid
  3. 4
      README.md
  4. 2
      src/main.cpp

@ -1,15 +1,15 @@
cmake_minimum_required(VERSION 3.24.2) cmake_minimum_required(VERSION 3.24.2)
project(Hohmann VERSION 1.0) project(Euclid VERSION 1.0)
#### Sources #### Sources
file(GLOB HEADERS headers/*.hpp headers/*.h) file(GLOB HEADERS headers/*.hpp headers/*.h)
file(GLOB SOURCES src/*.cpp src/*.c) file(GLOB SOURCES src/*.cpp src/*.c)
add_executable(Hohmann src/main.cpp) add_executable(Euclid src/main.cpp)
include_directories(headers) include_directories(headers)
target_sources(Hohmann PRIVATE ${SOURCES}) target_sources(Euclid PRIVATE ${SOURCES})
#### Libs #### Libs
# GLFW # GLFW
@ -30,4 +30,4 @@ include_directories(${EXTERN_SOURCES})
link_directories(${EXTERN_SOURCES}) link_directories(${EXTERN_SOURCES})
#### Linking #### Linking
target_link_libraries(Hohmann PRIVATE glfw glad glm) target_link_libraries(Euclid PRIVATE glfw glad glm)

BIN
Euclid

Binary file not shown.

@ -1,5 +1,5 @@
# Hohmann # Euclid
Cool 3D stuff Basic & lightweight OpenGL 3D renderer.
## Preview ## Preview
Here is a super simple example of the renderer: Here is a super simple example of the renderer:

@ -122,7 +122,7 @@ int main() {
glfwWindowHint(GLFW_CONTEXT_VERSION_MINOR, 3); glfwWindowHint(GLFW_CONTEXT_VERSION_MINOR, 3);
glfwWindowHint(GLFW_OPENGL_PROFILE, GLFW_OPENGL_CORE_PROFILE); glfwWindowHint(GLFW_OPENGL_PROFILE, GLFW_OPENGL_CORE_PROFILE);
GLFWwindow* win = glfwCreateWindow(WINDOW_WIDTH, WINDOW_HEIGHT, "Hohmann", NULL, NULL); GLFWwindow* win = glfwCreateWindow(WINDOW_WIDTH, WINDOW_HEIGHT, "Euclid Engine: Demo", NULL, NULL);
if (win == NULL) { if (win == NULL) {
printf("Failed to create a window.\n"); printf("Failed to create a window.\n");
glfwTerminate(); glfwTerminate();

Loading…
Cancel
Save