[mtl canvas] rearranged triangle data for better packing
This commit is contained in:
parent
1b3583cc6d
commit
c9a5b3d52d
|
@ -35,16 +35,15 @@ typedef struct mg_shape
|
||||||
|
|
||||||
typedef struct mg_triangle_data
|
typedef struct mg_triangle_data
|
||||||
{
|
{
|
||||||
vector_int2 p0;
|
|
||||||
vector_int2 p1;
|
|
||||||
vector_int2 p2;
|
|
||||||
|
|
||||||
vector_float4 cubic0;
|
vector_float4 cubic0;
|
||||||
vector_float4 cubic1;
|
vector_float4 cubic1;
|
||||||
vector_float4 cubic2;
|
vector_float4 cubic2;
|
||||||
|
|
||||||
vector_int4 box;
|
vector_int4 box;
|
||||||
|
|
||||||
|
vector_int2 p0;
|
||||||
|
vector_int2 p1;
|
||||||
|
vector_int2 p2;
|
||||||
|
|
||||||
int bias0;
|
int bias0;
|
||||||
int bias1;
|
int bias1;
|
||||||
int bias2;
|
int bias2;
|
||||||
|
|
Loading…
Reference in New Issue