#include "assert.h"
#include "hier.h"
-int get_temp_coords(topview* t,int level,int v,double* coord_x,double* coord_y,float *R,float *G,float *B);
+static int get_temp_coords(topview* t,int level,int v,double* coord_x,double* coord_y,float *R,float *G,float *B);
static double dist(double x1, double y1, double x2, double y2)
{
return sqrt((x1 - x2) * (x1 - x2) + (y1 - y2) * (y1 - y2));
for (v = 0; v < hp->nvtxs[level]; v++)
{
{
- ex_vtx_data *gg = hp->geom_graphs[level];
+ /* ex_vtx_data *gg = hp->geom_graphs[level]; */
double x0,y0;
if(get_temp_coords(t,level,v,&x0,&y0,&R,&G,&B))
{
glEnd();
}
-int get_temp_coords(topview* t,int level,int v,double* coord_x,double* coord_y,float *R,float *G,float *B)
+static int get_temp_coords(topview* t,int level,int v,double* coord_x,double* coord_y,float *R,float *G,float *B)
{
static int recorded =0;
Hierarchy *hp = t->h;
ex_vtx_data *gg = hp->geom_graphs[level];
- v_data *g = hp->graphs[level];
+ /* v_data *g = hp->graphs[level]; */
int OAL,AL;
OAL=gg[v].old_active_level;
AL=gg[v].active_level;
for (v = 0; v < hp->nvtxs[level]; v++)
{
ex_vtx_data *gg = hp->geom_graphs[level];
- v_data *g = hp->graphs[level];
- double x0,y0;
+ /* v_data *g = hp->graphs[level]; */
+ /* double x0,y0; */
gg[v].old_physical_x_coord=gg[v].physical_x_coord;
gg[v].old_physical_y_coord=gg[v].physical_y_coord;
gg[v].old_active_level=gg[v].active_level;
void changetopfishfocus(topview * t, float *x, float *y,
float *z, int num_foci);
void refresh_old_values(topview* t);
-int get_temp_coords(topview* t,int level,int v,double* coord_x,double* coord_y,float *R,float *G,float *B);
void get_interpolated_coords(double x0,double y0,double x1,double y1,int fr,int total_fr, double* x,double* y);
int get_active_frame(topview* t);
#endif