Merge branch 'master' into master

pull/2438/head
Adam B 2019-04-29 10:54:02 -07:00 committed by GitHub
commit 718109c17e
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 4 additions and 0 deletions

View File

@ -85,6 +85,8 @@ AI_FORCE_INLINE TReal aiColor4t<TReal>::operator[](unsigned int i) const {
return g; return g;
case 2: case 2:
return b; return b;
case 3:
return a;
default: default:
break; break;
} }
@ -100,6 +102,8 @@ AI_FORCE_INLINE TReal& aiColor4t<TReal>::operator[](unsigned int i) {
return g; return g;
case 2: case 2:
return b; return b;
case 3:
return a;
default: default:
break; break;
} }