GLUT advanced shapes implementation for the PSPGX library (OpenGL) Important: This has been added to the original PSP-Ports repo: pspdev/psp-ports#27 (comment)
- Sphere
- Torus
- Cone
- Disc
Create an issue if you would like the teapot too
Include directly the C file in your source where you need these shapes and use the classic OpenGL GLUT calls. You may have in some cases to define the PI constant.
I hate trigonometry. I hate mathematics. Yet I need them to do OpenGL
Imagine this is originally made in 1993