Esempio n. 1
0
        internal static void Update()
        {
            Point2D camera = RenderInfo.GetCameraCenter();

            _3D_ATTRIBUTES attributes = new _3D_ATTRIBUTES();

            attributes.forward.z  = RenderInfo.Camera2D.Zoom;
            attributes.up.y       = 1.0f;
            attributes.position.x = camera.X;
            attributes.position.y = camera.Y;

            System.setListenerAttributes(0, attributes);

            System.update();
        }