summaryrefslogtreecommitdiffstats
path: root/libdimension/dimension/geometry.h
diff options
context:
space:
mode:
authorTavian Barnes <tavianator@gmail.com>2009-06-14 18:17:57 +0000
committerTavian Barnes <tavianator@gmail.com>2009-06-14 18:17:57 +0000
commit6d3e9c207696a331da03a168a8dfa5a4a9d1e3bf (patch)
tree3d86e0681ff26b678b3e414aae7a3080775ec13d /libdimension/dimension/geometry.h
parent3ce0bfcd0e16d909b7495f07c9e8a82e4781ee88 (diff)
downloaddimension-6d3e9c207696a331da03a168a8dfa5a4a9d1e3bf.tar.xz
New dmnsn_identity_matrix() function.
Diffstat (limited to 'libdimension/dimension/geometry.h')
-rw-r--r--libdimension/dimension/geometry.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/libdimension/dimension/geometry.h b/libdimension/dimension/geometry.h
index fccd1bc..a2e54ab 100644
--- a/libdimension/dimension/geometry.h
+++ b/libdimension/dimension/geometry.h
@@ -51,9 +51,10 @@ dmnsn_matrix dmnsn_matrix_construct(double a0, double a1, double a2, double a3,
double c0, double c1, double c2, double c3,
double d0, double d1, double d2, double d3);
+dmnsn_matrix dmnsn_identity_matrix();
dmnsn_matrix dmnsn_scale_matrix(dmnsn_vector s);
dmnsn_matrix dmnsn_translation_matrix(dmnsn_vector d);
-/* theta/|theta| = axis, |theta| = angle */
+/* Left-handed rotation; theta/|theta| = axis, |theta| = angle */
dmnsn_matrix dmnsn_rotation_matrix(dmnsn_vector theta);
/* Vector and matrix arithmetic */