cornerPoints
Returns the corner points of the rectangle.
Declaration
var cornerPoints: [Point3DFloat] { get }Discussion
This function returns the vertices in a clockwise direction, starting from the origin:
5-----6
| |
1-----2 |
| | | | y z
| 4--|--7 | /
| | |/
0-----3 +-- xFor example, points[0] equals rect.origin, and points[6] is at rect.origin offset by rect.size.