Commit Graph

2 Commits

Author SHA1 Message Date
Cem Karan
a676f4d5d0 Bug fixes to filters.c: All windows now show same contents regardless of position.
The auxiliary windows now reflect what is happening in the primary window.
Unfortunately, there is still a bug in the primary window code that affects
the orthographic projection.  Basically, the object that is drawn is resized
along with the contents of the window instead of remaining a constant size
while the window is resized around it.
2015-12-18 13:41:34 -05:00
Cem Karan
3229ae91b2 Created examples/filters.c to demonstrate how to draw in one window based on
the position of a different window.

This illustrates the idea of filters; windows that draw their contents based
on the content of a different window (similar to what you'd see if you viewed
something through a colored filter).  This works on OS X.  Untested on other
platforms.
2015-12-17 15:49:28 -05:00