Welcome to mirror list, hosted at ThFree Co, Russian Federation.

git.blender.org/blender.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorCampbell Barton <ideasman42@gmail.com>2020-08-27 11:18:47 +0300
committerCampbell Barton <ideasman42@gmail.com>2020-08-27 11:18:47 +0300
commite0cb02587012b4b2f4b18363dc7d0a7da2c02093 (patch)
treed574c9585e2010d10d074b6da88ab50191b36bb2 /source/blender/blenlib/BLI_mpq2.hh
parent94884777b20dc612863690171b958eef41a4b6fd (diff)
Cleanup: mostly comments, use doxy syntax & typos
- Use doxy syntax for functions. - Use `pragma once` for header guard.
Diffstat (limited to 'source/blender/blenlib/BLI_mpq2.hh')
-rw-r--r--source/blender/blenlib/BLI_mpq2.hh9
1 files changed, 7 insertions, 2 deletions
diff --git a/source/blender/blenlib/BLI_mpq2.hh b/source/blender/blenlib/BLI_mpq2.hh
index 86a7b0ac3a8..c7d8eaeeeb6 100644
--- a/source/blender/blenlib/BLI_mpq2.hh
+++ b/source/blender/blenlib/BLI_mpq2.hh
@@ -16,6 +16,10 @@
#pragma once
+/** \file
+ * \ingroup bli
+ */
+
#ifdef WITH_GMP
# include "BLI_math_mpq.hh"
@@ -76,7 +80,8 @@ struct mpq2 {
return &x;
}
- /* Cannot do this exactly in rational arithmetic!
+ /**
+ * Cannot do this exactly in rational arithmetic!
* Approximate by going in and out of doubles.
*/
mpq_class length() const
@@ -174,7 +179,7 @@ struct mpq2 {
static int incircle(const mpq2 &a, const mpq2 &b, const mpq2 &c, const mpq2 &d);
- /* There is a sensible use for hashing on exact arithmetic types. */
+ /** There is a sensible use for hashing on exact arithmetic types. */
uint64_t hash() const;
};