Dogbonee / Dualie

A 3DS homebrew library based on SFML
https://dogbonee.github.io/Dualie/
1 stars 0 forks source link

Add stereoscopic 3d #14

Closed Dogbonee closed 3 months ago

Dogbonee commented 3 months ago

This PR introduces the 3d functionality of the 3ds. It introduces a depth variable to the drawables that offsets the position on left and right screens to produce a 3d effect. Rather than the window's draw function immediately calling the drawables draw function, it instead places the drawable into a draw queue, then the window's display function processes the queue for both left and right screens.