Base mesh viewing code using the corner table data-structure