Moved viewports to cameras. using GL constants for primitive layouts and started on medial axis calculations