-/* $Id: multiarb.c,v 1.12 2003/05/30 15:30:17 brianp Exp $ */
/*
* GL_ARB_multitexture demo
#include <string.h>
#include <GL/glut.h>
-#include "readtex.c" /* I know, this is a hack. */
+#include "readtex.h"
#define TEXTURE_1_FILE "../images/girl.rgb"
#define TEXTURE_2_FILE "../images/reflect.rgb"
static GLfloat Xrot = 20.0, Yrot = 30.0, Zrot = 0.0;
-
static void Idle( void )
{
if (Animate) {
glLoadIdentity();
if (i == 0) {
glTranslatef(Drift, 0.0, 0.0);
- glScalef(2, 2, 2);
+ glScalef(2, 2, 1);
}
else if (i == 1) {
glTranslatef(0.0, Drift, 0.0);