summaryrefslogtreecommitdiff
path: root/graphics/asymptote/jsfile.h
diff options
context:
space:
mode:
Diffstat (limited to 'graphics/asymptote/jsfile.h')
-rw-r--r--graphics/asymptote/jsfile.h7
1 files changed, 2 insertions, 5 deletions
diff --git a/graphics/asymptote/jsfile.h b/graphics/asymptote/jsfile.h
index 430655d4ac..9b4ca44dc1 100644
--- a/graphics/asymptote/jsfile.h
+++ b/graphics/asymptote/jsfile.h
@@ -44,7 +44,9 @@ public:
void addTube(const triple *g, double width,
const triple& Min, const triple& Max, bool core) override;
+#ifdef HAVE_LIBGLM
void addMaterial(Material const& mat) override;
+#endif
void addSphere(triple const& center, double radius) override;
@@ -63,9 +65,7 @@ public:
void svgtohtml(string name);
-#ifdef HAVE_LIBGLM
void precision(int digits) override {out.precision(digits);}
-#endif
protected:
void copy(string name, bool header=false);
@@ -76,7 +76,6 @@ protected:
-#ifdef HAVE_LIBGLM
void open(string name);
void comment(string name);
@@ -88,11 +87,9 @@ protected:
void addSphere(const triple& center, double radius, bool half=false,
const double& polar=0.0, const double& azimuth=0.0);
-
private:
bool finished;
string fileName;
-#endif
};
} //namespace camp