From 3ec26ddd28cbcc279a4fa65de8d68c68b3950576 Mon Sep 17 00:00:00 2001 From: Tavian Barnes Date: Wed, 13 Jul 2011 13:47:17 -0600 Subject: Implement triangles. --- libdimension/dimension/objects.h | 10 ++++++++++ 1 file changed, 10 insertions(+) (limited to 'libdimension/dimension') diff --git a/libdimension/dimension/objects.h b/libdimension/dimension/objects.h index aa53329..ba9547d 100644 --- a/libdimension/dimension/objects.h +++ b/libdimension/dimension/objects.h @@ -25,6 +25,16 @@ #include +/** + * A triangle. + * @param[in] a The first corner of the triangle. + * @param[in] b The second corner of the triangle. + * @param[in] c The third corner of the triangle. + */ +dmnsn_object *dmnsn_new_triangle(dmnsn_vector a, + dmnsn_vector b, + dmnsn_vector c); + /** * A plane. * @param[in] normal The normal vector of the plane. -- cgit v1.2.3