summaryrefslogtreecommitdiffstats
path: root/libdimension/dimension/object.h
diff options
context:
space:
mode:
authorTavian Barnes <tavianator@gmail.com>2009-11-09 14:18:38 -0500
committerTavian Barnes <tavianator@gmail.com>2009-11-09 14:19:25 -0500
commit89da144e4095ecece603a5d7adf29b7a8e493bb1 (patch)
tree55f90aa73e5edc540837e2dfa3bf0c08d3dcee3d /libdimension/dimension/object.h
parentecf8117d5d77e5ad9ebc2f987af7f07f75a30c45 (diff)
downloaddimension-89da144e4095ecece603a5d7adf29b7a8e493bb1.tar.xz
Store inverse object transformation in a separate field.
Diffstat (limited to 'libdimension/dimension/object.h')
-rw-r--r--libdimension/dimension/object.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/libdimension/dimension/object.h b/libdimension/dimension/object.h
index fd0eba1..0f53406 100644
--- a/libdimension/dimension/object.h
+++ b/libdimension/dimension/object.h
@@ -56,7 +56,7 @@ struct dmnsn_object {
dmnsn_texture *texture;
/* Transformation matrix */
- dmnsn_matrix trans;
+ dmnsn_matrix trans, trans_inv;
/* Bounding box */
dmnsn_vector min, max;