also might be worth noting, that all meshes and things are integer numbers
so you might want to think about using stuff like
global Cube%, texture%
just to ensure your getting an integer number
so you might want to think about using stuff like
global Cube%, texture%
just to ensure your getting an integer number