Skip to content

Factor out rotation matrix class etc.

Tim Starling requested to merge work/tstarling/RotationMatrix into main
  • Add a RotationMatrix class
  • Move the computation of the matrix to ViewDirection
  • In ViewDirection, calculate hfov and vfov before loading the input image, since this will be necessary for a future cropping feature.
  • Stop rounding views down to the nearest 8 pixels, that's a Pannellum tiling requirement not relevant here.
  • To compare ViewDirections with different invert properties, compare the rotation matrix elements.

Merge request reports