#include <GL/glut.h>
#include <stdlib.h>
#include <stdio.h>
#include <math.h>
#define FrameDelay 40
#define ROWS 10
#define COLS 30
#define AMBIENT 25.0
#define HOT 50.0
#define COLD 0.0
#define NHOTS 4
#define NCOLDS 5
GLfloat angle =0.0;
GLfloat temps[ROWS][COLS] ,back[ROWS+2][COLS+2];
GLfloat theta =0.0,vp=30.0;
int hotspots[NHOTS][2]=
{}, {},{},{}};
int coldspots[NCOLDS][2]=
{},{},{},{},{}};
int myWin;
void myinit(void){}
}
for (i=0;i<NHOTS;i++)
temps[hotspots[i][0]][hotspots[i][1]]=HOT;
for (i=0;i<NCOLDS;i++)
temps[coldspots[i][0]] [coldspots[i][1]]=COLD;
}
typedef GLfloat point[3];
point v[8]={},{},
{},{},
{},{},
{},{}
};
void cube(void){}
void setColor(float t) {}
void display(void){}
}
glPopMatrix();
glutSwapBuffers();
}
void reshape(int w,int h){}
void iterationStep(void){},{},
{}};
for (i=0;i<ROWS;i++){}
}
for (i=1;i<ROWS+2;i++){}
for(j=0;j<COLS+2;j++){}
for (i=0;i<ROWS;i++)
for (j=0;j<COLS;j++){}
for (i=0;i<NHOTS;i++)
{}
for (i=0;i<NCOLDS;i++)
{}
}
void animate(void){}
void time(int i){}
int main(int argc,char** argv){}