HorizontalAlign and VerticalAlign enums;

This commit is contained in:
bjorn 2022-06-18 17:41:10 -07:00
parent 3c5288e979
commit b89c61a8f4
1 changed files with 18 additions and 4 deletions

View File

@ -97,10 +97,10 @@ StringEntry lovrFilterMode[] = {
{ 0 }
};
StringEntry lovrVertexMode[] = {
[VERTEX_POINTS] = ENTRY("points"),
[VERTEX_LINES] = ENTRY("lines"),
[VERTEX_TRIANGLES] = ENTRY("triangles"),
StringEntry lovrHorizontalAlign[] = {
[ALIGN_LEFT] = ENTRY("left"),
[ALIGN_CENTER] = ENTRY("center"),
[ALIGN_RIGHT] = ENTRY("right"),
{ 0 }
};
@ -169,6 +169,20 @@ StringEntry lovrTextureUsage[] = {
{ 0 }
};
StringEntry lovrVertexMode[] = {
[VERTEX_POINTS] = ENTRY("points"),
[VERTEX_LINES] = ENTRY("lines"),
[VERTEX_TRIANGLES] = ENTRY("triangles"),
{ 0 }
};
StringEntry lovrVerticalAlign[] = {
[ALIGN_TOP] = ENTRY("top"),
[ALIGN_MIDDLE] = ENTRY("middle"),
[ALIGN_BOTTOM] = ENTRY("bottom"),
{ 0 }
};
StringEntry lovrWinding[] = {
[WINDING_COUNTERCLOCKWISE] = ENTRY("counterclockwise"),
[WINDING_CLOCKWISE] = ENTRY("clockwise"),