orangy
and and union be or?orangy
inline classes will be used for Color stuff in the new Kotlin codeorangy
orangy
inline var xy should probably be an extension property instead of a Float4 member?elect
10/12/2018, 1:10 PMelect
10/12/2018, 1:10 PMelect
10/12/2018, 1:11 PMor and union andelect
10/12/2018, 1:12 PM1101 & 0111 = 0101orangy
& (and) returns an intersection of `1`sorangy
a in (A union B) is the same as (a in A) or (a in B)orangy
elect
10/12/2018, 1:40 PMelect
10/12/2018, 1:40 PMromainguy
10/12/2018, 2:09 PMromainguy
10/12/2018, 2:10 PMromainguy
10/12/2018, 2:11 PMorangy
vec3.r style, you could have color3 or something, which is inline class over vec3 and has these rgb propertiesromainguy
10/12/2018, 2:36 PMromainguy
10/12/2018, 2:36 PMromainguy
10/12/2018, 2:37 PMromainguy
10/12/2018, 2:37 PMorangy
romainguy
10/12/2018, 2:38 PMromainguy
10/12/2018, 2:38 PMorangy
Kt class to use them anyway