Mika Tuupola

Results 228 comments of Mika Tuupola

What can be gained by leaving the `window_t clip_window` empty? It forces an initial call to `hagl_set_clip_window()`which you probably want to do anyway after changing the resolution.

Yes the C preprocessor does not allow you to do that. Are you changing resolution runtime or do you configure the resolution when compiling? If the latter then you can...

Notes: https://gist.github.com/rianhunter/0be8dc116b120ad5fdd4 https://cseweb.ucsd.edu/~calder/papers/POPL-94.pdf https://hbfs.wordpress.com/2008/12/30/the-true-cost-of-calls/ https://www.avrfreaks.net/forum/static-inline-void-function

Surface is supposed to be same as an interface in object oriented world. Meaning you can pass any object which implements surface interface to all the drawing functions. Both backend...

This is related to https://github.com/tuupola/hagl/issues/39 and https://github.com/tuupola/hagl/issues/42. I have not decided yet which way to go but it will most likely be style objects. Style objects would allow multitude of...

It is probably due my lack of understanding how CMake works but I haven't found out a good way to choose a HAL in compile time. Instead HAGL assumes it...

Thanks I will check it!

Looks like your webserver is not parsing `.php` files as php files. Enabling PHP in the webserver config should fix the problem. How that is done depends on your webserver...

Yes it is the plan. I already started the work but will finish it when I have new API project myself. https://github.com/tuupola/slim-api-skeleton/tree/slim-4