From f2f7f9a80ecabf44a15f965a22007ed385379998 Mon Sep 17 00:00:00 2001 From: "mfchen@caltech.edu" <mfchen@caltech.edu> Date: Thu, 10 Apr 2025 21:56:23 +0000 Subject: [PATCH] docs --- include/body.h | 8 ++------ 1 file changed, 2 insertions(+), 6 deletions(-) diff --git a/include/body.h b/include/body.h index 2422c02..33b7ffe 100644 --- a/include/body.h +++ b/include/body.h @@ -73,9 +73,7 @@ double body_get_velocity_y(body_t *body); * Computes the area of a body. * See https://en.wikipedia.org/wiki/Shoelace_formula#Statement. * - * @param body the pointer to the body, - * listed in a counterclockwise direction. There is an edge between - * each pair of consecutive vertices, plus one between the first and last. + * @param body the pointer to the body * @return the area of the body */ double body_area(body_t *body); @@ -84,9 +82,7 @@ double body_area(body_t *body); * Computes the center of mass of a body. * See https://en.wikipedia.org/wiki/Centroid#Of_a_polygon. * - * @param body the pointer to the body, - * listed in a counterclockwise direction. There is an edge between - * each pair of consecutive vertices, plus one between the first and last. + * @param body the pointer to the body * @return the centroid of the body */ vector_t body_centroid(body_t *body); -- GitLab