physics-engine

时间:2021-04-01 15:13:28
【文件属性】:
文件名称:physics-engine
文件大小:6KB
文件格式:ZIP
更新时间:2021-04-01 15:13:28
CMake 物理引擎 我自己的实验,并尝试编写一个物理引擎来学习如何在游戏中模拟刚体动力学。 依存关系 Cmake 2.8或更高版本 libsdl2-dev gcovr 指示 安装构建依赖关系(对于Ubuntu 20.04) sudo apt install build-essential cmake libsdl2-dev 安装gcovr以计算代码覆盖率 sudo apt install python3-pip python3-venv python3 -m venv venv source ./venv/bin/activate pip install gcovr 建立并运行单元测试 cmake -B build -S . -DCMAKE_BUILD_TYPE=Debug cmake --build build --config Debug cd build ctest -C Debug -
【文件预览】:
physics-engine-master
----.github()
--------workflows()
----test()
--------test_vec2.cpp(142B)
--------CMakeLists.txt(547B)
----LICENSE(1KB)
----src()
--------main.cpp(629B)
--------CMakeLists.txt(78B)
----.clang-format(220B)
----.gitignore(339B)
----CMakeLists.txt(588B)
----README.md(1KB)

网友评论