Some aesthetic spacing.
@@ -470,7 +470,6 @@ SK_API void mesh_set_skin (mesh_t mesh, const uint16_t *bone_ids_4, int3
SK_API void mesh_update_skin (mesh_t mesh, const matrix *bone_transforms, int32_t bone_count);
SK_API bool32_t mesh_ray_intersect (mesh_t mesh, ray_t model_space_ray, ray_t *out_pt);
-
SK_API mesh_t mesh_gen_plane (vec2 dimensions, vec3 plane_normal, vec3 plane_top_direction, int32_t subdivisions sk_default(0));
SK_API mesh_t mesh_gen_cube (vec3 dimensions, int32_t subdivisions sk_default(0));
SK_API mesh_t mesh_gen_sphere (float diameter, int32_t subdivisions sk_default(4));
@@ -580,11 +579,13 @@ typedef enum transparency_ {
transparency_blend,
transparency_add,
} transparency_;
+
typedef enum cull_ {
cull_back = 0,
cull_front,
cull_none,
} cull_;
+
typedef enum depth_test_ {
depth_test_less = 0,
depth_test_less_or_eq,
@@ -595,6 +596,7 @@ typedef enum depth_test_ {
depth_test_always,
depth_test_never,
} depth_test_;
+
typedef enum material_param_ {
material_param_float = 0,
material_param_color128,
@@ -603,6 +605,8 @@ typedef enum material_param_ {
material_param_texture,
} material_param_;
+SK_DeclarePrivateType(material_buffer_t);
+
SK_API material_t material_find (const char *id);
SK_API material_t material_create (shader_t shader);
SK_API material_t material_copy (material_t material);
@@ -641,8 +645,6 @@ SK_API int material_get_param_count (material_t material);
SK_API void material_set_shader (material_t material, shader_t shader);
SK_API shader_t material_get_shader (material_t material);
-SK_DeclarePrivateType(material_buffer_t);
-
SK_API material_buffer_t material_buffer_create (int32_t register_slot, int32_t size);
SK_API void material_buffer_set_data (material_buffer_t buffer, const void *data);
SK_API void material_buffer_release (material_buffer_t buffer);
@@ -656,6 +658,7 @@ typedef enum text_fit_ {
text_fit_exact = 1 << 3,
text_fit_overflow = 1 << 4
} text_fit_;
+
typedef enum text_align_ {
text_align_x_left = 1 << 0,
text_align_y_top = 1 << 1,
