Graphics: Add Billboard support

This commit is contained in:
SirLynix
2023-11-25 15:52:58 +01:00
parent 4cbb5b91a3
commit 1ac992b5c7
12 changed files with 472 additions and 98 deletions

View File

@@ -68,6 +68,17 @@ namespace Nz
Vector3f tangent;
};
struct VertexStruct_UV_SizeSinCos
{
Vector2f uv;
Vector4f sizeSinCos; //< width, height, sin, cos
};
struct VertexStruct_UV_SizeSinCos_Color : VertexStruct_UV_SizeSinCos
{
Color color;
};
struct VertexStruct_XYZ_UV : VertexStruct_XYZ
{
Vector2f uv;