summaryrefslogtreecommitdiff
path: root/src/core/vert.h
diff options
context:
space:
mode:
authorchai <chaifix@163.com>2020-02-22 18:17:06 +0800
committerchai <chaifix@163.com>2020-02-22 18:17:06 +0800
commit9c89460e136ed6c6c43704d9a3a15105e0f006b0 (patch)
treecd56f1dfc10650cfbfe7007ee3432ee32227edc3 /src/core/vert.h
parentd49f3d3f73709a9a7c0bce53aa13ed28a2bd27cb (diff)
*wog
Diffstat (limited to 'src/core/vert.h')
-rw-r--r--src/core/vert.h5
1 files changed, 2 insertions, 3 deletions
diff --git a/src/core/vert.h b/src/core/vert.h
index 8578d87..6c968b5 100644
--- a/src/core/vert.h
+++ b/src/core/vert.h
@@ -22,16 +22,15 @@ Color color32_tocolor(Color32* c);
void color_tocolor32(Color c, Color32* out);
void color32_saturate(Color32* c);
-/*readonly*/
typedef struct Vert {
uint index;
Vec3 position;
Vec3 normal;
- Vec4 tangent;
+ Vec4 tangent; // w for handness
Vec2 texcoord;
Color color;
/*
- Vec2 texcoord1;
+ Vec2 texcoord1; // for lightmap
Vec4 joint;
Vec4 weight;
*/