summaryrefslogtreecommitdiff
path: root/graphics/asymptote/jsfile.h
diff options
context:
space:
mode:
authorNorbert Preining <norbert@preining.info>2022-01-21 03:01:16 +0000
committerNorbert Preining <norbert@preining.info>2022-01-21 03:01:16 +0000
commit5d5f239204f5c0d1f7573c9ebc64b5ad1ae75b49 (patch)
treedd2a2d9a64fd0be0785bc558a4872a3c8185af23 /graphics/asymptote/jsfile.h
parent217d27e597baa589f8e115e1b44eef51c7bb5dd0 (diff)
CTAN sync 202201210301
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