summaryrefslogtreecommitdiffstats
path: root/libdimension-python/dimension.pxd
diff options
context:
space:
mode:
authorTavian Barnes <tavianator@tavianator.com>2014-05-31 14:08:36 -0400
committerTavian Barnes <tavianator@tavianator.com>2014-05-31 14:13:38 -0400
commitc42fd6547afed0b65260ae6a8a07cf9dcf084b67 (patch)
treed0cf947f8b7a2c4ae0e5f6151da3ff656f663f57 /libdimension-python/dimension.pxd
parentc10255ab3da17507d63bdc7e1fdfc809ffd32f7f (diff)
downloaddimension-c42fd6547afed0b65260ae6a8a07cf9dcf084b67.tar.xz
finish: Use pool.
Diffstat (limited to 'libdimension-python/dimension.pxd')
-rw-r--r--libdimension-python/dimension.pxd18
1 files changed, 7 insertions, 11 deletions
diff --git a/libdimension-python/dimension.pxd b/libdimension-python/dimension.pxd
index 45a081f..b822827 100644
--- a/libdimension-python/dimension.pxd
+++ b/libdimension-python/dimension.pxd
@@ -272,23 +272,19 @@ cdef extern from "../libdimension/dimension.h":
ctypedef struct dmnsn_reflection
ctypedef struct dmnsn_finish:
- dmnsn_ambient *ambient
- dmnsn_diffuse *diffuse
- dmnsn_specular *specular
+ dmnsn_ambient *ambient
+ dmnsn_diffuse *diffuse
+ dmnsn_specular *specular
dmnsn_reflection *reflection
dmnsn_finish dmnsn_new_finish()
- void dmnsn_delete_finish(dmnsn_finish finish)
-
- void dmnsn_finish_incref(dmnsn_finish *finish)
void dmnsn_finish_cascade(dmnsn_finish *default_finish, dmnsn_finish *finish)
- dmnsn_ambient *dmnsn_new_ambient(dmnsn_color ambient)
- dmnsn_diffuse *dmnsn_new_lambertian(double diffuse)
- dmnsn_specular *dmnsn_new_phong(double specular, double exp)
- dmnsn_reflection *dmnsn_new_basic_reflection(dmnsn_color min, dmnsn_color max,
- double falloff)
+ dmnsn_ambient *dmnsn_new_ambient(dmnsn_pool *pool, dmnsn_color ambient)
+ dmnsn_diffuse *dmnsn_new_lambertian(dmnsn_pool *pool, double diffuse)
+ dmnsn_specular *dmnsn_new_phong(dmnsn_pool *pool, double specular, double exp)
+ dmnsn_reflection *dmnsn_new_basic_reflection(dmnsn_pool *pool, dmnsn_color min, dmnsn_color max, double falloff)
############
# Textures #