Skip to content

Commit

Permalink
Examples: Modify touch example to draw a cube
Browse files Browse the repository at this point in the history
  • Loading branch information
brackeen committed Feb 16, 2024
1 parent d7f9f91 commit a3882e0
Show file tree
Hide file tree
Showing 2 changed files with 175 additions and 110 deletions.
2 changes: 1 addition & 1 deletion examples/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -14,12 +14,12 @@ set(GLFM_APP_SRC triangle.c)
include(GLFMAppTarget)

# Touch example
set(GLFM_APP_ASSETS_DIR ${CMAKE_CURRENT_SOURCE_DIR}/assets)
set(GLFM_APP_TARGET_NAME glfm_touch)
set(GLFM_APP_SRC touch.c)
include(GLFMAppTarget)

# Test pattern example
set(GLFM_APP_ASSETS_DIR ${CMAKE_CURRENT_SOURCE_DIR}/assets)
set(GLFM_APP_TARGET_NAME glfm_test_pattern)
set(GLFM_APP_SRC test_pattern.c test_pattern_renderer.h test_pattern_renderer_gles2.c)
if (CMAKE_SYSTEM_NAME STREQUAL "Darwin")
Expand Down

0 comments on commit a3882e0

Please sign in to comment.