struct spinel_transform

Defined at line 83 of file ../../src/graphics/lib/compute/spinel/include/spinel/spinel_types.h

TRANSFORMS

Spinel supports a projective transformation matrix with the

requirement that w2 is implicitly 1.

A---------B----+

| sx shx | tx |

| shy sy | ty |

C---------D----+

| w0 w1 | 1 |

+---------+----+

The layout of the transform is defined by the spinel_transform_t struct.

It's the responsibility of the host to ensure that the transforms

are properly scaled either via initializing a transform stack with

the transform returned by `spinel_context_get_limits()`.

Public Members

float sx
float shx
float tx
float shy
float sy
float ty
float w0
float w1