diff options
author | omniscient <17525998+omnisci3nce@users.noreply.github.com> | 2024-04-27 16:35:11 +1000 |
---|---|---|
committer | omniscient <17525998+omnisci3nce@users.noreply.github.com> | 2024-04-27 16:35:11 +1000 |
commit | fc35df8e999521b8be7c44800f4ff4665df3254a (patch) | |
tree | 2acc67b9830e712bef78270c6478c61e184f2047 /src/maths | |
parent | 55bb30899899d1e6f34e85d87909d5108d085adb (diff) |
heightmap function signatures
Diffstat (limited to 'src/maths')
-rw-r--r-- | src/maths/primitives.c | 16 |
1 files changed, 3 insertions, 13 deletions
diff --git a/src/maths/primitives.c b/src/maths/primitives.c index 42c51ea..55ff5fc 100644 --- a/src/maths/primitives.c +++ b/src/maths/primitives.c @@ -13,20 +13,10 @@ geometry_data geo_create_plane(f32x2 extents) { vertex_format format = VERTEX_STATIC_3D; vertex_darray* vertices = vertex_darray_new(4); - vertex_darray_push( - vertices, - (vertex) {.static_3d = { - .position = - }} - ); - - return (geometry_data) { - .format = format, - .vertices = - .has_indices = true, - } -} + vertex_darray_push(vertices, (vertex){ .static_3d = { .position = } }); + return (geometry_data) { .format = format, .vertices =.has_indices = true, } +} // OLD |