GLSL vertex shader calculation issue

Thanks for the reply - I’ll check the w value when I get round to it!