* \brief Convenience function to create a Color from individual RGB components. * * \param[in] r Red component (0.0f to 1.0f). * \param[in] g Green component (0.0f to 1.0f). * \param[in] b Blue component (0.0f to 1.0f). * \return A Color initialized with the given RGB values. */
| 38 | * \return A Color initialized with the given RGB values. |
| 39 | */ |
| 40 | inline Color MakeColor(float r, float g, float b) |
| 41 | { |
| 42 | Color color; |
| 43 | color.Set(r, g, b); |
| 44 | return color; |
| 45 | } |
| 46 | |
| 47 | /** |
| 48 | * \brief Property for storing RGB color values. |