Update StringUtils.h

pull/3158/head
Hehongyuanlove 2020-04-17 12:51:18 +08:00 committed by GitHub
parent cc3760aff1
commit 59e32a5ad9
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

View File

@ -154,7 +154,7 @@ std::string DecimalToHexa( T toConvert ) {
/// @param with_head #
/// @return The hexadecimal string, is empty in case of an error.
AI_FORCE_INLINE
std::string Rgba2Hex(floatr, float g, float b, float a, bool with_head)
std::string Rgba2Hex(float r, float g, float b, float a, bool with_head)
{
std::stringstream ss;
if (with_head)