summaryrefslogtreecommitdiffstats
path: root/libdimension/dimension/object.h
diff options
context:
space:
mode:
authorTavian Barnes <tavianator@gmail.com>2009-06-14 18:18:19 +0000
committerTavian Barnes <tavianator@gmail.com>2009-06-14 18:18:19 +0000
commit5c73e21b426ed381a1ae8d1bcac6fc78e5952b8f (patch)
tree979b425b4ef93e1492b45700c4ac3f899d4fc60e /libdimension/dimension/object.h
parent5e8d0c611681d866d903a087ea238aeb5fbb5508 (diff)
downloaddimension-5c73e21b426ed381a1ae8d1bcac6fc78e5952b8f.tar.xz
Add a transformation matrix to objects.
Diffstat (limited to 'libdimension/dimension/object.h')
-rw-r--r--libdimension/dimension/object.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/libdimension/dimension/object.h b/libdimension/dimension/object.h
index bd660a0..589ac29 100644
--- a/libdimension/dimension/object.h
+++ b/libdimension/dimension/object.h
@@ -38,6 +38,9 @@ struct dmnsn_object {
/* Generic pointer for object info */
void *ptr;
+ /* Transformation matrix */
+ dmnsn_matrix trans;
+
/* Callback functions */
dmnsn_object_intersections_fn *intersections_fn;
dmnsn_object_inside_fn *inside_fn;