tor-browser

The Tor Browser
git clone https://git.dasho.dev/tor-browser.git
Log | Files | Refs | README | LICENSE

non-inversible-world-rect.yaml (762B)


      1 # Tests that `get_raster_rects` raster -> world transform is inversible in general,
      2 # but one of the vertices of the world rectangles can't map back to the raster.
      3 ---
      4 root:
      5  items:
      6    - type: stacking-context
      7      bounds: 0 0 400 400
      8      perspective: 800
      9      perspective-origin: 50% 200
     10      items:
     11        - type: stacking-context
     12          bounds: 0 0 400 400
     13          transform-style: preserve-3d
     14          transform: rotate-z(40) translate(400, 200, 0)
     15          margin: 100
     16          items:
     17            - type: stacking-context
     18              bounds: 0 0 1000 1000
     19              transform: rotate-y(-75) translate(0, 0, -500)
     20              items:
     21                - type: rect
     22                  bounds: [0, 0, 200, 200]
     23                  color: red