devkitPro / opengx

OpenGL-like wrapper for Nintendo Wii/GameCube
19 stars 2 forks source link

Vertex API #62

Closed mardy closed 3 months ago

mardy commented 3 months ago

Move the glVertex*() functions (including functions to specify normals, color and texture coordinates) into a separate C++ file, where we use templates to simplify their implementation.

Add all missing vertex functions.

Add glRect*() functions.

mardy commented 3 months ago

Just noticed an issue with this: glVertex3*() sets the alpha to 0, which is incorrect. Will fix it soon.

mardy commented 3 months ago

Just noticed an issue with this: glVertex3*() sets the alpha to 0, which is incorrect. Will fix it soon.

Fixed.