|
resize issueRegarding this analog clock patch, when I drag the viewer to resize i can't figure out how to resize the clock to always fit the circle/window. it's a small problem-- might just be math related to aspect ratio, so when AR = 1, billboard width = a, and when AR = 2, billboard width = b-- i can't get it. also, i post because maybe there's advice on a better way in general...
|
All your coordinates are based on width, but the background circle is based on height. To remedy this, just base all your offsets on the renderer destination dimension's height value, like this: