Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
21 commits
Select commit Hold shift + click to select a range
05ba237
feat: EasyGLの実装(別プロジェクトから移行)
rinngo0302 Dec 16, 2025
fc18bd5
fix: Cameraのアスペクト比を直接ウィンドウサイズで指定する
rinngo0302 Dec 16, 2025
5d60b33
chore: #pragma onceを廃止
rinngo0302 Dec 16, 2025
9d2dcea
chore: .gitignoreの変更
rinngo0302 Jan 2, 2026
76c9a26
feat: ヘッダオンリーライブラリの出力
rinngo0302 Jan 2, 2026
757d230
chore(generator): 生成日時の出力を削除
rinngo0302 Jan 2, 2026
be9e3e2
feat(2d/font): FreeType初期化・破棄関数の宣言を追加
rinngo0302 Jan 2, 2026
c3468c6
chore: CMakeLists.txtを追加
rinngo0302 Jan 2, 2026
d7a465a
docs(example): 基本的な3Dレンダリングサンプルを追加
rinngo0302 Jan 2, 2026
797396a
feat(shader): 複数ライト対応
rinngo0302 Feb 12, 2026
a927f1c
feat(object): 複数ライト描画の実装
rinngo0302 Feb 12, 2026
54e3930
feat: 複数ライト対応のヘッダ統合
rinngo0302 Feb 12, 2026
64e63b7
chore: CMakeLists.txtの不要行削除
rinngo0302 Feb 12, 2026
d00b1a6
chore(test): テスト用ビルド構成の追加
rinngo0302 Feb 12, 2026
adb358f
chore(ci): GitHub Actions CIの追加
rinngo0302 Feb 12, 2026
c806e7e
chore(example): CMakeLists.txtの追加
rinngo0302 Feb 12, 2026
0b792b7
chore: exampleの除去
rinngo0302 Feb 12, 2026
07dfa91
fix: testのCMakeLists.txt
rinngo0302 Feb 12, 2026
2120dcb
fix: cmakelistsの修正
rinngo0302 Feb 12, 2026
6c683c9
fix
rinngo0302 Feb 12, 2026
221fcbc
fix(test): assetsコピーのパスを絶対パスに修正
rinngo0302 Feb 12, 2026
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
The table of contents is too big for display.
Diff view
Diff view
  •  
  •  
  •  
28 changes: 28 additions & 0 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,28 @@
name: CI

on:
pull_request:
branches: [main]

jobs:
build-example:
runs-on: ubuntu-22.04

steps:
- uses: actions/checkout@v4

- name: Install dependencies
run: |
sudo apt-get update
sudo apt-get install -y \
libsdl2-dev \
libsdl2-net-dev \
libfreetype-dev \
libassimp-dev \
pkg-config

- name: Build
working-directory: test
run: |
cmake -B build
cmake --build build
5 changes: 4 additions & 1 deletion .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
*.slo
*.lo
*.o
*.obj
#*.obj

# Precompiled Headers
*.gch
Expand Down Expand Up @@ -39,3 +39,6 @@

# debug information files
*.dwo

.idea
build/
39 changes: 39 additions & 0 deletions CMakeLists.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,39 @@
cmake_minimum_required(VERSION 3.16)
project(EasyGL C CXX)

set(CMAKE_CXX_STANDARD 17)
set(CMAKE_CXX_STANDARD_REQUIRED ON)

#add_compile_definitions(EZ_LOG_ENABLED=1)

find_package(SDL2 REQUIRED)

find_package(PkgConfig REQUIRED)
pkg_check_modules(SDL2_NET REQUIRED SDL2_net)

pkg_check_modules(FREETYPE REQUIRED freetype2)

add_executable(ez ${SOURCES}
main.cpp
main.cpp)

target_include_directories(ez PRIVATE
"src"
"libs"
${SDL2_INCLUDE_DIRS}
${FREETYPE_INCLUDE_DIRS}
)

target_link_libraries(ez PRIVATE
${SDL2_LIBRARIES}
${SDL2_NET_LIBRARIES}
${FREETYPE_LIBRARIES}
assimp
dl
)

add_custom_command(TARGET ez POST_BUILD
COMMAND ${CMAKE_COMMAND} -E copy_directory
${CMAKE_SOURCE_DIR}/assets
$<TARGET_FILE_DIR:ez>/assets
)
Loading