Exemple #1
0
        private static void UpdateViewMatrix()
        {
            viewMatrix = Matrix4.CreateTranslation(new Vector3(-Player.Instance.data.pos.x, -Player.Instance.data.pos.y, zoom));

            Terrain.UpdateViewMatrix(viewMatrix);
            EntityManager.UpdateViewMatrix(viewMatrix);
        }