moved to DirectX math and rendering issues