blob: be2c6ff7e81c12ab8b61bc8d7ae57bda514afd23 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
|
#pragma once
#include <assert.h>
#include <stdlib.h>
#include "core.h"
#include "maths_types.h"
#include "render_types.h"
geometry_data geo_create_plane(f32x2 extents);
geometry_data geo_create_cuboid(f32x3 extents);
geometry_data geo_create_cylinder(f32 radius, f32 height, u32 resolution);
geometry_data geo_create_uvsphere(f32 radius, u32 north_south_lines, u32 east_west_lines);
geometry_data geo_create_icosphere(f32 radius, f32 n_subdivisions);
|