X-Git-Url: https://git.dlugolecki.net.pl/?a=blobdiff_plain;f=src%2Fmath%2Fpositions.h;h=878616e141720fe244b967c3a26a16bc053c7ee1;hb=HEAD;hp=058cfc599aa4ad943766b1f80ed7eb8ec8c8d013;hpb=23eeb22223e34cfae61897bc1b15f45c41cc6df5;p=familia.git diff --git a/src/math/positions.h b/src/math/positions.h index 058cfc5..878616e 100644 --- a/src/math/positions.h +++ b/src/math/positions.h @@ -25,18 +25,31 @@ #include "storage/individual.h" #include "storage/family.h" +struct objects_boundaries { + double top; + double right; + double bottom; + double left; +}; + +/** + * @file math/positions.h + * @brief Code for calculating 3D positions of objects. + * + */ + /** * Calculates local position of given individual - * @parameter individual to calculate position + * @param individual individual to calculate position * @return calculated local position of the individual */ -struct position * familia_position_calculate_individual_position(struct familia_individual * individual); +struct position * calculate_individual_position(struct familia_individual * individual); /** * Calculates local position of given family - * @parameter family to calculate position + * @param family family to calculate position * @return calculated local position of the family */ -struct position * familia_position_calculate_family_position(struct familia_family * family); +struct position * calculate_family_position(struct familia_family * family); #endif /* _FAMILIA_MATH_POSITIONS_H */