Mistake in calculating the camera ONB
Added support for torus shape