diff options
author | Tavian Barnes <tavianator@gmail.com> | 2010-06-04 10:15:21 -0600 |
---|---|---|
committer | Tavian Barnes <tavianator@gmail.com> | 2010-06-04 10:15:21 -0600 |
commit | 4a2dd35a34d456b9164e90b4fb1a06b1d009869f (patch) | |
tree | a896e926bebae2e1a64b341b800169f1224df359 /libdimension/dimension | |
parent | ca7780971fe39c8a7e0e867e0d8bd9f3b5a21e33 (diff) | |
download | dimension-4a2dd35a34d456b9164e90b4fb1a06b1d009869f.tar.xz |
Rename `precompute' to `init'.
Diffstat (limited to 'libdimension/dimension')
-rw-r--r-- | libdimension/dimension/object.h | 6 | ||||
-rw-r--r-- | libdimension/dimension/texture.h | 4 |
2 files changed, 5 insertions, 5 deletions
diff --git a/libdimension/dimension/object.h b/libdimension/dimension/object.h index 3b8768f..11847b0 100644 --- a/libdimension/dimension/object.h +++ b/libdimension/dimension/object.h @@ -48,7 +48,7 @@ typedef struct dmnsn_object dmnsn_object; /* Object callback types */ -typedef void dmnsn_object_precompute_fn(dmnsn_object *object); +typedef void dmnsn_object_init_fn(dmnsn_object *object); typedef bool dmnsn_object_intersection_fn(const dmnsn_object *object, dmnsn_line line, dmnsn_intersection *intersection); @@ -70,7 +70,7 @@ struct dmnsn_object { dmnsn_bounding_box bounding_box; /* Callback functions */ - dmnsn_object_precompute_fn *precompute_fn; + dmnsn_object_init_fn *init_fn; dmnsn_object_intersection_fn *intersection_fn; dmnsn_object_inside_fn *inside_fn; dmnsn_free_fn *free_fn; @@ -84,6 +84,6 @@ dmnsn_object *dmnsn_new_object(); /* Free an object */ void dmnsn_delete_object(dmnsn_object *object); -void dmnsn_object_precompute(dmnsn_object *object); +void dmnsn_object_init(dmnsn_object *object); #endif /* DIMENSION_OBJECT_H */ diff --git a/libdimension/dimension/texture.h b/libdimension/dimension/texture.h index 9c5fae1..b2eef05 100644 --- a/libdimension/dimension/texture.h +++ b/libdimension/dimension/texture.h @@ -52,7 +52,7 @@ struct dmnsn_pigment { dmnsn_pigment *dmnsn_new_pigment(); void dmnsn_delete_pigment(dmnsn_pigment *pigment); -void dmnsn_pigment_precompute(dmnsn_pigment *pigment); +void dmnsn_pigment_init(dmnsn_pigment *pigment); /* * Finishes @@ -110,6 +110,6 @@ typedef struct { dmnsn_texture *dmnsn_new_texture(); void dmnsn_delete_texture(dmnsn_texture *texture); -void dmnsn_texture_precompute(dmnsn_texture *texture); +void dmnsn_texture_init(dmnsn_texture *texture); #endif /* DIMENSION_TEXTURE_H */ |