And another:
let channels = 7
let format =
if channels == 1: 1
elif channels == 3: 2
elif channels == 4: 3
else: (block:
echo "Texture Format Unknown, assuming RGB"
4
)
echo format
- using if expressions jackmott
- Re: using if expressions wizzardx
- Re: using if expressions jackmott
- Re: using if expressions wizzardx
- Re: using if expressions Stefan_Salewski
- Re: using if expressions jackmott
- Re: using if expressions Arrrrrrrrr
