johannes-fetz / joengine

Jo Engine is an open source 2D and 3D game engine for the Sega Saturn written in C under MIT license
http://jo-engine.org/
MIT License
205 stars 32 forks source link

Feature Request: sprPolyLine #68

Closed slinga-homebrew closed 1 year ago

slinga-homebrew commented 1 year ago

Hi Johannes,

Hope all is well. In jo_3d. in the void jo_3d_set_mesh_polygon_color(jo_3d_mesh * const mesh, const jo_color color, const unsigned int index) function is hardcoded to always use sprPolygon. I would like the ability to use sprPolyLine as well. Thanks in advance.

johannes-fetz commented 1 year ago

I added two new functions: void jo_3d_set_mesh_polygon_wireframe(jo_3d_mesh const mesh, const unsigned int index, bool wireframe); void jo_3d_set_mesh_polygon_color_ex(jo_3d_mesh const mesh, const jo_color color, const unsigned int index, bool wireframe);

slinga-homebrew commented 1 year ago

Thank you!