[roll] Roll fuchsia [flatland] Fix rotation and order operations for 3D matrices.

Currently, matrices are operated in the wrong order. Translation would
be the first order of operations, and then scale. For instance, this
would mean that the translation amount would be scaled giving an
incorrect value.

Secondly, since the 2x2 submatrix rotated by 90/270 takes the following form:

  0           -sin(angle)
  sin(angle)  0

We, therefore, cannot scale using only the diagonal elements.

This fixes both issues.

Original-Fixed: 95624

Original-Reviewed-on: https://fuchsia-review.googlesource.com/c/fuchsia/+/719583
Original-Revision: fe7a9b3188d5206ca47b85362074ac9efddc0b44
GitOrigin-RevId: 57ba7d2b958ee42e747d6523ac25ec74a52316d6
Change-Id: I8ef0bde18c9e76eab9bf573c74418d6d6b7fb75f
1 file changed
tree: 76461c1d65cb76cb141fb27a2bb7b4b77f1f065f
  1. git-hooks/
  2. infra/
  3. third_party/
  4. cts
  5. firmware
  6. flower
  7. jiri.lock
  8. minimal
  9. prebuilts
  10. README.md
  11. stem
  12. test_durations
  13. toolchain
README.md

Integration

This repository contains Fuchsia's Global Integration manifest files.

Making changes

All changes should be made to the internal version of this repository. Our infrastructure automatically updates this version when the internal one changes.

Currently all changes must be made by a Google employee. Non-Google employees wishing to make a change can ask for assistance via the IRC channel #fuchsia on Freenode.

Obtaining the source

First install Jiri.

Next run:

$ jiri init
$ jiri import minimal https://fuchsia.googlesource.com/integration
$ jiri update

Third party

Third party projects should have their own subdirectory in ./third_party.