//
// You should have received a copy of the GNU General Public License
// along with this program; if not, write to the Free Software
-// Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
+// Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
//
-// $Id:
+// $Id$
#ifndef _FG_JPGFACTORY_HXX
#define _FG_JPGFACTORY_HXX
extern "C" {
#endif
+#ifdef HAVE_WINDOWS_H
+# define XMD_H // to avoid INT32 redefinition
+#endif
+
+#include <stdlib.h>
+#include <stdio.h>
#include <jpeglib.h>
#include <jerror.h>
void destroy(int error = 0);
int render();
+ void setFrustum(GLdouble left, GLdouble right,
+ GLdouble bottom, GLdouble top,
+ GLdouble zNear, GLdouble zFar) { trFrustum(tr, left, right, bottom, top, zNear, zFar); }
+
unsigned char *data() { return IMAGE ; }
struct jpeg_compress_struct *JPGinfo() { return &cinfo ; }