 ////////////////////////////////////////////////////////////////////////////////
 //                                  3D Projection
 ////////////////////////////////////////////////////////////////////////////////
+
+static byte VXSCALE = 16;
 
 static float model_mat[9] = { 1.0, 0.0, 0.0,
                         0.0, 1.0, 0.0,

  GD.cmd_rotate(rot);
  GD.cmd_translate(-F16(SUN_WIDTH / 2), -F16(SUN_WIDTH / 2));
  GD.cmd_setmatrix();
  GD.Vertex2f(x - (16 * SUN_WIDTH / 2), y - (16 * SUN_WIDTH / 2));
}

void loop()
{
  GD.Begin(BITMAPS);
  GD.SaveContext();
  GD.BitmapHandle(BACKGROUND_HANDLE);
  GD.cmd_translate(-(long)t << 14, (long)t << 13);

  GD.BitmapHandle(LIGHT_HANDLE);
 
  GD.ColorRGB((i == N_VERTICES - 2) ? 0xfe2b18 : 0x4fff82);
  GD.Vertex2f(projected[i].x - (VXSCALE * LIGHT_WIDTH / 2),
              projected[i].y - (VXSCALE * LIGHT_WIDTH / 2));
  GD.RestoreContext();
}

