Tag Info

New answers tagged

0

Rotations occur relative to the origin, so you want the camera to be 100 units away already before you rotate it if you want the camera to stay focused on the origin. This image will hopefully make it clear (source page): The view matrix you would use is then (I apply the transformations from right-to-left): view = inverse( rotate(90) * translate(100) * ...



Top 50 recent answers are included