summaryrefslogtreecommitdiffstats
path: root/libdimension/dimension.h
diff options
context:
space:
mode:
authorTavian Barnes <tavianator@gmail.com>2010-11-14 21:20:43 -0500
committerTavian Barnes <tavianator@gmail.com>2010-11-14 21:20:43 -0500
commit8fe33a340b8979a73fa84f201c15519a9b5d0266 (patch)
tree12cdbb1c1b9a48f533ab36980602785be1e1deeb /libdimension/dimension.h
parent20a55aa78050d94b187d4edfaac91ea00efea505 (diff)
downloaddimension-8fe33a340b8979a73fa84f201c15519a9b5d0266.tar.xz
Document libdimension with Doxygen.
Diffstat (limited to 'libdimension/dimension.h')
-rw-r--r--libdimension/dimension.h23
1 files changed, 21 insertions, 2 deletions
diff --git a/libdimension/dimension.h b/libdimension/dimension.h
index 5f84054..55b3b87 100644
--- a/libdimension/dimension.h
+++ b/libdimension/dimension.h
@@ -18,8 +18,22 @@
* <http://www.gnu.org/licenses/>. *
*************************************************************************/
-/*
- * libdimension - a library for photo-realistic 3-D rendering
+/**
+ * @file
+ * The main #include file for libdimension. This file declares all public
+ * functions and types used by the Dimension library. You should never attempt
+ * to include any of the component headers in the dimension/ subdirectory
+ * directly; only this file.
+ */
+
+/**
+ * @mainpage libdimension - A library for photo-realistic 3-D rendering
+ *
+ * The Dimension library (libdimension) is the ray-tracing library that handles
+ * all rendering-related tasks for Dimension. It is written in C and designed
+ * with performance and concurrency in mind. It is also generic enough to be
+ * used for applications other than Dimension, though that is its primary
+ * purpose.
*/
#ifndef DIMENSION_H
@@ -31,6 +45,11 @@ extern "C" {
#endif
/* Common types */
+
+/**
+ * Destructor callback type.
+ * @param[in,out] ptr The pointer to free.
+ */
typedef void dmnsn_free_fn(void *ptr);
/* Include all the libdimension headers */