9#define LG_MESH_MAX_WEIGHTS 4
16typedef struct __attribute__((packed, aligned(4))) {
23typedef struct __attribute__((packed, aligned(4))) {
32typedef struct __attribute__((packed, aligned(4))) {
46typedef struct __attribute__((packed, aligned(4))) {
62typedef struct __attribute__((packed, aligned(4))) {
72 uint8_t i[LG_MESH_MAX_WEIGHTS];
73 uint16_t w[LG_MESH_MAX_WEIGHTS];
80typedef struct __attribute__((packed, aligned(4))) {
96typedef struct __attribute__((packed, aligned(4))) {
111typedef struct __attribute__((packed, aligned(4))) {
119typedef struct __attribute__((packed, aligned(4))) {
Vertex_uv_n lg_vertex_uv_n(float x, float y, float z, uint16_t u, uint16_t v, int16_t n_x, int16_t n_y, int16_t n_z)
Definition lg_vertex.c:115
LG_Color_u lg_color_u_from_f(LG_Color_f c)
Definition lg_vertex.c:242
Vertex_rgba_n lg_vertex_rgba_n(float x, float y, float z, LG_Color_u c, int16_t n_x, int16_t n_y, int16_t n_z)
Definition lg_vertex.c:192
LG_Color_f lg_color_f(float r, float g, float b, float a)
Definition lg_vertex.c:224
Vertex_n lg_vertex_n(float x, float y, float z, int16_t n_x, int16_t n_y, int16_t n_z)
Definition lg_vertex.c:93
LG_Color_u lg_color_u(uint8_t r, uint8_t g, uint8_t b, uint8_t a)
Definition lg_vertex.c:208
Vertex lg_vertex(float x, float y, float z)
Definition lg_vertex.c:37
Vertex lg_vertex_from_vec3(vec3_t v)
Definition lg_vertex.c:54
Vertex_rgba lg_vertex_rgba_from_vec3(vec3_t v, LG_Color_u c)
Definition lg_vertex.c:173
Vertex_rgba lg_vertex_rgba(float x, float y, float z, LG_Color_u c)
Definition lg_vertex.c:159
Vertex_uvn_iw lg_vertex_uvn_iw(float x, float y, float z, uint16_t u, uint16_t v, int16_t n_x, int16_t n_y, int16_t n_z, uint8_t i[4], uint16_t w[4])
Definition lg_vertex.c:141
LG_Color_f lg_color_f_from_u(LG_Color_u c)
Definition lg_vertex.c:258
void lg_vertex_sizes_info()
Definition lg_vertex.c:268
Vertex_uv lg_vertex_uv(float x, float y, float z, uint16_t u, uint16_t v)
Definition lg_vertex.c:75
Definition lg_vertex.h:119
Definition lg_vertex.h:111
Definition lg_vertex.h:32
Definition lg_vertex.h:96
Definition lg_vertex.h:80
Definition lg_vertex.h:46
Definition lg_vertex.h:23
Definition lg_vertex.h:62
Definition lg_vertex.h:16