justingardner / mgl

A suite of mex/m files for displaying psychophysics stimuli
http://justingardner.net/mgl
Other
18 stars 22 forks source link

mglGluAnnulus and mglMetalArcs not behaving as expected #86

Closed jkim6704 closed 1 year ago

jkim6704 commented 1 year ago

Specifying an outer annulus greater than 10 deg causes the inner annulus to change:

For example,

mglGluAnnulus(0, 0, 5, 10, [0 .3 0] , 1); mglFlush

and

mglGluAnnulus(0, 0, 5, 12, [0 .3 0] , 1); mglFlush

have different inner annuli, but the same outer annuli

Same for mglMetalArcs

mglMetalArcs([0 0 0]', [1 1 1 1]', [5 10]', [0 2pi]', [3]); mglFlush mglMetalArcs([0 0 0]', [1 1 1 1]', [5 12]', [0 2pi]', [3]); mglFlush

Something is very wrong...

justingardner commented 1 year ago

This is fixed now. Closing.