Implemented orthographic and perspective projection.