Optical goniometer