Stardew Engine
Loading...
Searching...
No Matches
Game2DVertexOutputHelpers.h
Go to the documentation of this file.
1#ifndef GAME2DVERTEXOUTPUTHELPERS_H
2#define GAME2DVERTEXOUTPUTHELPERS_H
3
4#include <cglm/cglm.h>
5#define VECTOR(a) a*
6struct _AtlasSprite;
7typedef struct _AtlasSprite AtlasSprite;
8#include "DrawContext.h"
9
11 AtlasSprite* pSprite,
12 VECTOR(Worldspace2DVert)* pOutVert,
13 VECTOR(VertIndexT)* pOutInd,
14 VertIndexT* pNextIndex,
15 vec2 tlPos,
16 vec2 brPos
17);
18
19#endif
u32 VertIndexT
Definition DrawContext.h:52
void OutputSpriteVerticesBase(AtlasSprite *pSprite, VECTOR(Worldspace2DVert) *pOutVert, VECTOR(VertIndexT) *pOutInd, VertIndexT *pNextIndex, vec2 tlPos, vec2 brPos)
Definition Game2DVertexOutputHelpers.c:6
#define VECTOR(a)
Definition Game2DVertexOutputHelpers.h:5
Definition DrawContext.h:13
Definition Atlas.h:17