chiark / gitweb /
merge into history old stuff found on chiark
[moebius.git] / library.cc
index 5fa1b50339d89671700371aa7e2dd7d12da14311..d15c454ca6103601f73a6e096e917dfbdc2acbf7 100644 (file)
@@ -2,8 +2,8 @@
  * Points library
  */
 
-#include <stdio.h>
 #include <stdlib.h>
+#include <stdio.h>
 
 #include "library.hh"
 #include "transforms.hh"
@@ -40,15 +40,6 @@ Point::operator Onscreen() const {
   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;