From b5d615b2231d15d22a9943be28d617740cb26a1d Mon Sep 17 00:00:00 2001 From: rdb Date: Tue, 17 May 2022 10:10:45 +0200 Subject: [PATCH] mathutil: Fix broken docstrings --- panda/src/mathutil/frustum_src.I | 15 +++++++-------- 1 file changed, 7 insertions(+), 8 deletions(-) diff --git a/panda/src/mathutil/frustum_src.I b/panda/src/mathutil/frustum_src.I index f884b29f45..a0f1a8f9d9 100644 --- a/panda/src/mathutil/frustum_src.I +++ b/panda/src/mathutil/frustum_src.I @@ -66,12 +66,7 @@ make_ortho(FLOATTYPE fnear, FLOATTYPE ffar, FLOATTYPE l, FLOATTYPE r, } /** - * Behaves like gluPerspective (Aspect = width/height, Yfov in degrees) aspect - * +------------+ | | 1 | | yfov | | - * +------------+ - * - * -------+------ \ | \ | \ | \ | \ | \| W yfov - * + * Behaves like gluPerspective (Aspect = width/height, Yfov in degrees) */ INLINE_MATHUTIL void FLOATNAME(LFrustum):: make_perspective_hfov(FLOATTYPE hfov, FLOATTYPE aspect, FLOATTYPE fnear, @@ -84,7 +79,9 @@ make_perspective_hfov(FLOATTYPE hfov, FLOATTYPE aspect, FLOATTYPE fnear, _b = -_t; } - +/** + * + */ INLINE_MATHUTIL void FLOATNAME(LFrustum):: make_perspective_vfov(FLOATTYPE yfov, FLOATTYPE aspect, FLOATTYPE fnear, FLOATTYPE ffar) { @@ -96,7 +93,9 @@ make_perspective_vfov(FLOATTYPE yfov, FLOATTYPE aspect, FLOATTYPE fnear, _l = -_r; } - +/** + * + */ INLINE_MATHUTIL void FLOATNAME(LFrustum):: make_perspective(FLOATTYPE xfov, FLOATTYPE yfov, FLOATTYPE fnear, FLOATTYPE ffar) {