summaryrefslogtreecommitdiffstats
path: root/libdimension/dimension/camera.h
diff options
context:
space:
mode:
authorTavian Barnes <tavianator@gmail.com>2011-05-21 20:27:09 -0600
committerTavian Barnes <tavianator@gmail.com>2011-05-21 20:27:09 -0600
commit0f0b704144bddc045657f7ed852b49d5e349b0bd (patch)
treecefc022b10cc4f5675245ea2e77c24c89a6bc30a /libdimension/dimension/camera.h
parent07d784563af19c162945c60562819269e6fc4994 (diff)
downloaddimension-0f0b704144bddc045657f7ed852b49d5e349b0bd.tar.xz
Add refcounts to cameras.
Diffstat (limited to 'libdimension/dimension/camera.h')
-rw-r--r--libdimension/dimension/camera.h5
1 files changed, 3 insertions, 2 deletions
diff --git a/libdimension/dimension/camera.h b/libdimension/dimension/camera.h
index c3ad65b..67fffc0 100644
--- a/libdimension/dimension/camera.h
+++ b/libdimension/dimension/camera.h
@@ -44,8 +44,9 @@ struct dmnsn_camera {
dmnsn_matrix trans; /**< Transformation matrix. */
- /** Generic pointer for camera info. */
- void *ptr;
+ void *ptr; /**< @internal Generic pointer for camera info. */
+
+ dmnsn_refcount *refcount; /**< @internal reference count. */
};
/**