summaryrefslogtreecommitdiffstats
path: root/libdimension/triangle.c
diff options
context:
space:
mode:
authorTavian Barnes <tavianator@tavianator.com>2014-06-07 15:43:19 -0400
committerTavian Barnes <tavianator@tavianator.com>2014-06-07 15:44:11 -0400
commit6c95702123269a674f0ffa0b57ec756bc611c643 (patch)
tree271a4a4e7e3912899bb31d62764f3d2fb9975729 /libdimension/triangle.c
parenta79085ab984979dbf4f78545f7592c8b47e4a794 (diff)
downloaddimension-6c95702123269a674f0ffa0b57ec756bc611c643.tar.xz
objects: Implement triangle fans.
Diffstat (limited to 'libdimension/triangle.c')
-rw-r--r--libdimension/triangle.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/libdimension/triangle.c b/libdimension/triangle.c
index 30ba6c0..6025caa 100644
--- a/libdimension/triangle.c
+++ b/libdimension/triangle.c
@@ -122,7 +122,7 @@ static inline dmnsn_matrix
dmnsn_triangle_basis(dmnsn_vector vertices[3])
{
/*
- * The new vector space has corners at <0, 1, 0>, <0, 0, 1>, and 0,
+ * The new vector space has corners at <1, 0, 0>, <0, 1, 0>, and 0,
* corresponding to the basis (ab, ac, ab X ac).
*/
dmnsn_vector ab = dmnsn_vector_sub(vertices[1], vertices[0]);