Glow Test01:- Don't use calculated zNear, as that value can change when the window is resized. Re-implemented Resize method, the cube now maintains size and position within the resized window.