Skip to content

Commit

Permalink
Mirai3D full GUI, dynamic resolution, model selection.
Browse files Browse the repository at this point in the history
  • Loading branch information
arceryz committed May 11, 2024
1 parent 7571854 commit dc106ad
Show file tree
Hide file tree
Showing 21 changed files with 461 additions and 431 deletions.
3 changes: 2 additions & 1 deletion CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -15,8 +15,9 @@ FetchContent_MakeAvailable(raylib)
include_directories(Source/Ray3)
include_directories(Source/Ray2)
include_directories(Source)
include_directories(Source/External)
include_directories(build/_deps/raylib-src/src)
file(GLOB SOURCES Source/*.h Source/*.cpp Source/Ray2/*.cpp Source/Ray3/*.cpp)
file(GLOB SOURCES Source/*.cpp Source/Ray2/*.cpp Source/Ray3/*.cpp)

add_executable(Mirai ${SOURCES})
target_link_libraries(Mirai PRIVATE raylib)
78 changes: 78 additions & 0 deletions Models/Icosahedron.obj
Original file line number Diff line number Diff line change
@@ -0,0 +1,78 @@
# Blender 4.1.1
# www.blender.org
o Icosphere
v 0.000000 -1.000000 0.000000
v 0.723600 -0.447215 0.525720
v -0.276385 -0.447215 0.850640
v -0.894425 -0.447215 0.000000
v -0.276385 -0.447215 -0.850640
v 0.723600 -0.447215 -0.525720
v 0.276385 0.447215 0.850640
v -0.723600 0.447215 0.525720
v -0.723600 0.447215 -0.525720
v 0.276385 0.447215 -0.850640
v 0.894425 0.447215 0.000000
v 0.000000 1.000000 0.000000
vn 0.1876 -0.7947 0.5774
vn 0.6071 -0.7947 -0.0000
vn -0.4911 -0.7947 0.3568
vn -0.4911 -0.7947 -0.3568
vn 0.1876 -0.7947 -0.5774
vn 0.9822 -0.1876 -0.0000
vn 0.3035 -0.1876 0.9342
vn -0.7946 -0.1876 0.5774
vn -0.7946 -0.1876 -0.5774
vn 0.3035 -0.1876 -0.9342
vn 0.7946 0.1876 0.5774
vn -0.3035 0.1876 0.9342
vn -0.9822 0.1876 -0.0000
vn -0.3035 0.1876 -0.9342
vn 0.7946 0.1876 -0.5774
vn 0.4911 0.7947 0.3568
vn -0.1876 0.7947 0.5774
vn -0.6071 0.7947 -0.0000
vn -0.1876 0.7947 -0.5774
vn 0.4911 0.7947 -0.3568
vt 0.181819 0.000000
vt 0.272728 0.157461
vt 0.090910 0.157461
vt 0.363637 0.000000
vt 0.454546 0.157461
vt 0.909091 0.000000
vt 1.000000 0.157461
vt 0.818182 0.157461
vt 0.727273 0.000000
vt 0.636364 0.157461
vt 0.545455 0.000000
vt 0.363637 0.314921
vt 0.181819 0.314921
vt 0.909091 0.314921
vt 0.727273 0.314921
vt 0.545455 0.314921
vt 0.000000 0.314921
vt 0.272728 0.472382
vt 0.090910 0.472382
vt 0.818182 0.472382
vt 0.636364 0.472382
vt 0.454546 0.472382
s 0
f 1/1/1 2/2/1 3/3/1
f 2/2/2 1/4/2 6/5/2
f 1/6/3 3/7/3 4/8/3
f 1/9/4 4/8/4 5/10/4
f 1/11/5 5/10/5 6/5/5
f 2/2/6 6/5/6 11/12/6
f 3/3/7 2/2/7 7/13/7
f 4/8/8 3/7/8 8/14/8
f 5/10/9 4/8/9 9/15/9
f 6/5/10 5/10/10 10/16/10
f 2/2/11 11/12/11 7/13/11
f 3/3/12 7/13/12 8/17/12
f 4/8/13 8/14/13 9/15/13
f 5/10/14 9/15/14 10/16/14
f 6/5/15 10/16/15 11/12/15
f 7/13/16 11/12/16 12/18/16
f 8/17/17 7/13/17 12/19/17
f 9/15/18 8/14/18 12/20/18
f 10/16/19 9/15/19 12/21/19
f 11/12/20 10/16/20 12/22/20
16 changes: 16 additions & 0 deletions Models/Tetrahedron.obj
Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@
# Blender 4.1.1
# www.blender.org
o Tetra
v 0.000000 1.000000 0.000000
v 0.942809 -0.333333 0.000000
v -0.471405 -0.333333 -0.816497
v -0.471405 -0.333333 0.816497
vn 0.4714 0.3333 -0.8165
vn -0.9428 0.3333 -0.0000
vn 0.4714 0.3333 0.8165
vn -0.0000 -1.0000 -0.0000
s 0
f 1//1 2//1 3//1
f 1//2 3//2 4//2
f 1//3 4//3 2//3
f 2//4 4//4 3//4
File renamed without changes.
File renamed without changes.
Loading

0 comments on commit dc106ad

Please sign in to comment.