Files | |
| main.cpp | |
3dmath_pong is a software-rasterized 3D Pong game. Geometry transforms use the MXVK math backend selected at configure time, while the CPU rasterizer draws into a 320x240 framebuffer. MXVK presents that framebuffer in a 1440x1080 Vulkan window with nearest-neighbor scaling. Pass --framebuffer WIDTHxHEIGHT to override the default internal resolution.
Build and run:
Controls:
Configure with -DWITH_EIGEN=OFF to use the native MXVK math implementation, or -DWITH_EIGEN=ON to use the Eigen-backed implementation.