A geometric model of spatial distortions in virtual and augmented environments