diff options
author | Tavian Barnes <tavianator@gmail.com> | 2011-10-19 13:59:24 -0400 |
---|---|---|
committer | Tavian Barnes <tavianator@gmail.com> | 2011-10-30 18:11:22 -0400 |
commit | 8e3a7158ecae541692826e7b5998c8ffc810173a (patch) | |
tree | beda4f9f8604f77d0513d5fb02b7ddf53d203d09 /libdimension/dimension/pigment.h | |
parent | e9810a7b1aae15320e58371b657a2f963562834d (diff) | |
download | dimension-8e3a7158ecae541692826e7b5998c8ffc810173a.tar.xz |
Make API more consistent.
Object methods should be dmnsn_<object>_<fn>().
Diffstat (limited to 'libdimension/dimension/pigment.h')
-rw-r--r-- | libdimension/dimension/pigment.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/libdimension/dimension/pigment.h b/libdimension/dimension/pigment.h index 487a8dc..716c28b 100644 --- a/libdimension/dimension/pigment.h +++ b/libdimension/dimension/pigment.h @@ -78,7 +78,7 @@ void dmnsn_delete_pigment(dmnsn_pigment *pigment); * initialized for you. * @param[in,out] pigment The pigment to initialize. */ -void dmnsn_initialize_pigment(dmnsn_pigment *pigment); +void dmnsn_pigment_initialize(dmnsn_pigment *pigment); /** * Evaluate the color of a pigment at a point. @@ -86,5 +86,5 @@ void dmnsn_initialize_pigment(dmnsn_pigment *pigment); * @param[in] v The point to color. * @return The color at \p v. */ -dmnsn_color dmnsn_evaluate_pigment(const dmnsn_pigment *pigment, +dmnsn_color dmnsn_pigment_evaluate(const dmnsn_pigment *pigment, dmnsn_vector v); |