trisquel-icecat/icecat/gfx/wr/wrench/reftests/transforms/near-plane-clip.yaml

18 lines
491 B
YAML

# Test the calculation for screen bounds for transformed primitives that cross the near plane.
---
root:
items:
-
bounds: [0, 0, 1000, 1000]
type: "stacking-context"
perspective: 200
items:
-
bounds: [0, 0, 1000, 1000]
type: "stacking-context"
transform: rotate-x(30)
items:
-
bounds: [350, 200, 260, 300]
image: checkerboard(2, 16, 16)
stretch-size: 260 260