diff options
author | omniscient <17525998+omnisci3nce@users.noreply.github.com> | 2024-06-12 00:16:51 +1000 |
---|---|---|
committer | omniscient <17525998+omnisci3nce@users.noreply.github.com> | 2024-06-12 00:16:51 +1000 |
commit | 26fb1fcafa552c600a70b2680c868f7355b138e4 (patch) | |
tree | 2fb77c8b14a5610584a316e57fd8db2795847a0f /src/resources/gltf.c | |
parent | 76216f91aee936bc57d7e1a1b2c2b63a03ce976a (diff) |
wip: uvsphere mesh gen and pbr shader first pass
Diffstat (limited to 'src/resources/gltf.c')
-rw-r--r-- | src/resources/gltf.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/resources/gltf.c b/src/resources/gltf.c index dcb3d96..46ad4f3 100644 --- a/src/resources/gltf.c +++ b/src/resources/gltf.c @@ -380,7 +380,7 @@ bool model_load_gltf_str(const char *file_string, const char *filepath, str8 rel geometry_data *geometry = malloc(sizeof(geometry_data)); geometry->format = VERTEX_STATIC_3D; - geometry->colour = vec3(1, 1, 1); + geometry->colour = (rgba){ 1, 1, 1, 1 }; geometry->vertices = geo_vertices; geometry->indices = geo_indices; geometry->has_indices = has_indices; |