Browse Source

Math: these sentences don't sound like they make any sense, no.

pull/525/head
Vladimír Vondruš 5 years ago
parent
commit
60d13f0fcb
  1. 14
      src/Magnum/Math/Color.h

14
src/Magnum/Math/Color.h

@ -297,7 +297,8 @@ template<class T> class Color3: public Vector3<T> {
* @brief Blue color
*
* Convenience alternative to e.g. @cpp Color3{0.0f, 0.0f, blue} @ce.
* With floating-point underlying type equivalent to @ref Vector3::zAxis().
* With a floating-point underlying type it's equivalent to
* @ref Vector3::zAxis().
* @see @ref red(), @ref green(), @ref yellow()
*/
constexpr static Color3<T> blue(T blue = Implementation::fullChannel<T>()) {
@ -308,7 +309,8 @@ template<class T> class Color3: public Vector3<T> {
* @brief Cyan color
*
* Convenience alternative to e.g. @cpp Color3{red, 1.0f, 1.0f} @ce.
* With floating-point underlying type equivalent to @ref Vector3::xScale().
* With a floating-point underlying type it's equivalent to
* @ref Vector3::xScale().
* @see @ref magenta(), @ref yellow(), @ref red()
*/
constexpr static Color3<T> cyan(T red = T(0)) {
@ -319,7 +321,8 @@ template<class T> class Color3: public Vector3<T> {
* @brief Magenta color
*
* Convenience alternative to e.g. @cpp Color3{1.0f, green, 1.0f} @ce.
* With floating-point underlying type equivalent to @ref Vector3::yScale().
* With a floating-point underlying type it's equivalent to
* @ref Vector3::yScale().
* @see @ref cyan(), @ref yellow(), @ref green()
*/
constexpr static Color3<T> magenta(T green = T(0)) {
@ -329,8 +332,9 @@ template<class T> class Color3: public Vector3<T> {
/**
* @brief Yellow color
*
* Convenience alternative to e.g. @cpp Color3{1.0f, 1.0f, yellow} @ce.
* With floating-point underlying type equivalent to @ref Vector3::zScale().
* Convenience alternative to e.g. @cpp Color3{1.0f, 1.0f, blue} @ce.
* With a floating-point underlying type it's equivalent to
* @ref Vector3::zScale().
* @see @ref cyan(), @ref magenta(), @ref red()
*/
constexpr static Color3<T> yellow(T blue = T(0)) {

Loading…
Cancel
Save