#ifdef GVDLL
#define extern __declspec(dllexport)
#else
-#define extern
-#endif
-
-/*visual studio*/
#ifdef WIN32_DLL
#ifndef GVC_EXPORTS
#define extern __declspec(dllimport)
#endif
#endif
-/*end visual studio*/
+
+#endif
extern void *zmalloc(size_t);
extern void *zrealloc(void *, size_t, size_t, size_t);
return 1;
}
+void linear_interplotate (float x1,float y1,float x2,float y2,float x3,float* y3)
+{
+
+ float a,b;
+ a=(y1-y2)/(x1-x2);
+ b=y1-a*x1;
+ *y3=a*x3+b;
+}
#if 0
int glreversecamera(ViewInfo * view)
float GetOGLDistance(int l);
int GetFixedOGLPoslocal(int x, int y, float kts, GLfloat * X, GLfloat * Y,
GLfloat * Z);
-
+void linear_interplotate (float x1,float y1,float x3,float y3,float x2,float* y2);
#endif