Source code

Revision control

Copy as Markdown

Other Tools

# In this test, there is a single polygon intersecting the near plane.
---
root:
items:
- type: stacking-context
bounds: [0, 0, 600, 600]
transform-style: preserve-3d
perspective: 200
items:
- type: stacking-context
bounds: [0, 0, 600, 600]
transform: rotate-x(-60.0)
items:
- type: rect
bounds: [000, 0, 600, 600]
color: [255, 0, 0, 0.5]