ofBaseTypes: fixes for 3dprimitives, broke in previous merges