mirror of
https://github.com/geode-sdk/geode.git
synced 2024-11-14 19:15:05 -05:00
deprecate cc3x
This commit is contained in:
parent
5c840127fa
commit
6080fdbfde
1 changed files with 1 additions and 0 deletions
|
@ -861,6 +861,7 @@ namespace geode::cocos {
|
|||
return {color.r / 255.f, color.g / 255.f, color.b / 255.f, color.a / 255.f};
|
||||
}
|
||||
|
||||
[[deprecated("This function sucks, use cc3bFromHexString instead")]]
|
||||
constexpr cocos2d::ccColor3B cc3x(int hexValue) {
|
||||
if (hexValue <= 0xf)
|
||||
return cocos2d::ccColor3B{
|
||||
|
|
Loading…
Reference in a new issue