diff options
author | Tavian Barnes <tavianator@gmail.com> | 2009-11-09 14:18:38 -0500 |
---|---|---|
committer | Tavian Barnes <tavianator@gmail.com> | 2009-11-09 14:19:25 -0500 |
commit | 89da144e4095ecece603a5d7adf29b7a8e493bb1 (patch) | |
tree | 55f90aa73e5edc540837e2dfa3bf0c08d3dcee3d /libdimension/dimension/object.h | |
parent | ecf8117d5d77e5ad9ebc2f987af7f07f75a30c45 (diff) | |
download | dimension-89da144e4095ecece603a5d7adf29b7a8e493bb1.tar.xz |
Store inverse object transformation in a separate field.
Diffstat (limited to 'libdimension/dimension/object.h')
-rw-r--r-- | libdimension/dimension/object.h | 2 |
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; |