* Points library
*/
-#include <stdio.h>
#include <stdlib.h>
+#include <stdio.h>
#include "library.hh"
#include "transforms.hh"
return Onscreen(it[0] * factor + eyex * (1.0-factor), it[1] * factor);
}
-const char *Point::printing() {
- const int nbuf= 20;
- static int cbuf= 0;
- static char buf[nbuf][300];
- cbuf++; cbuf%=nbuf;
- sprintf(buf[cbuf],"(%g, %g, %g)",xyz[0],xyz[1],xyz[2]);
- return buf[cbuf];
-}
-
void Point::setobserver(double theta, double eta, double planedist, double eyedist,
double cutoffdist) {
planedistance= planedist;