diff options
author | Jared Adams <jaxad0127@gmail.com> | 2010-02-05 14:14:15 -0700 |
---|---|---|
committer | Jared Adams <jaxad0127@gmail.com> | 2010-02-05 14:14:15 -0700 |
commit | e823418b40aed0a230352a83c76f87741bf8c4a7 (patch) | |
tree | 1e0d996cfcf0f896037072dbda641d195c8afefc | |
parent | 1b25be33dee7c95e0af01091827d706cc3326161 (diff) | |
download | mana-e823418b40aed0a230352a83c76f87741bf8c4a7.tar.gz mana-e823418b40aed0a230352a83c76f87741bf8c4a7.tar.bz2 mana-e823418b40aed0a230352a83c76f87741bf8c4a7.tar.xz mana-e823418b40aed0a230352a83c76f87741bf8c4a7.zip |
Fix the return type of getBoolProperty and standardize the docs
-rw-r--r-- | src/properties.h | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/src/properties.h b/src/properties.h index e7aab157..e203c75c 100644 --- a/src/properties.h +++ b/src/properties.h @@ -57,8 +57,8 @@ class Properties * * @param name The name of the property. * @param def Default value, 0.0f by default. - * @return the value of the given property, or 0.0f when it doesn't - * exist. + * @return the value of the given property or the given default when it + * doesn't exist. */ float getFloatProperty(const std::string &name, float def = 0.0f) const { @@ -78,8 +78,8 @@ class Properties * * @param name The name of the property. * @param def Default value, false by default. - * @return the value of the given property, or false when it doesn't - * exist. + * @return the value of the given property or the given default when it + * doesn't exist. */ float getBoolProperty(const std::string &name, bool def = false) const { |