justingardner / mgl

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

mglGluAnnulus: inner and outer size of the ring is not in radius but in diameter #73

Closed jiwonyeon closed 1 year ago

jiwonyeon commented 2 years ago

In the description of the metal version mglGluAnnulus as well as in the previous version of the same function, the input values for the isize and osize are radius of the annulus, but what actually the code does is it understands the values as the diameter. To make old scripts compatible to mgl, the inputs should be radius not diameter.

justingardner commented 1 year ago

This is fixed now. Closing,