diff options
author | Tavian Barnes <tavianator@gmail.com> | 2011-05-21 20:27:09 -0600 |
---|---|---|
committer | Tavian Barnes <tavianator@gmail.com> | 2011-05-21 20:27:09 -0600 |
commit | 0f0b704144bddc045657f7ed852b49d5e349b0bd (patch) | |
tree | cefc022b10cc4f5675245ea2e77c24c89a6bc30a /libdimension/dimension/camera.h | |
parent | 07d784563af19c162945c60562819269e6fc4994 (diff) | |
download | dimension-0f0b704144bddc045657f7ed852b49d5e349b0bd.tar.xz |
Add refcounts to cameras.
Diffstat (limited to 'libdimension/dimension/camera.h')
-rw-r--r-- | libdimension/dimension/camera.h | 5 |
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. */ }; /** |