diff options
Diffstat (limited to 'Build/source/utils/asymptote/v3dfile.cc')
-rw-r--r-- | Build/source/utils/asymptote/v3dfile.cc | 8 |
1 files changed, 6 insertions, 2 deletions
diff --git a/Build/source/utils/asymptote/v3dfile.cc b/Build/source/utils/asymptote/v3dfile.cc index 6eb77680514..f281db010da 100644 --- a/Build/source/utils/asymptote/v3dfile.cc +++ b/Build/source/utils/asymptote/v3dfile.cc @@ -10,6 +10,8 @@ #ifdef HAVE_RPC_RPC_H +#ifdef HAVE_LIBGLM + #include "drawelement.h" #include "makeUnique.h" @@ -36,8 +38,8 @@ void v3dfile::addHeaders() headers.emplace_back(make_unique<Uint32Header>(v3dheadertypes::canvasWidth, gl::fullWidth)); headers.emplace_back(make_unique<Uint32Header>(v3dheadertypes::canvasHeight, gl::fullHeight)); headers.emplace_back(make_unique<Uint32Header>(v3dheadertypes::absolute, getSetting<bool>("absolute"))); - headers.emplace_back(make_unique<TripleHeader>(v3dheadertypes::minBound, triple(gl::xmin, gl::ymin, gl::zmin))); - headers.emplace_back(make_unique<TripleHeader>(v3dheadertypes::maxBound, triple(gl::xmax, gl::ymax, gl::zmax))); + headers.emplace_back(make_unique<TripleHeader>(v3dheadertypes::minBound, triple(gl::Xmin, gl::Ymin, gl::Zmin))); + headers.emplace_back(make_unique<TripleHeader>(v3dheadertypes::maxBound, triple(gl::Xmax, gl:: Ymax, gl::Zmax))); headers.emplace_back(make_unique<Uint32Header>(v3dheadertypes::orthographic, gl::orthographic)); headers.emplace_back(make_unique<DoubleHeader>(v3dheadertypes::angleOfView, gl::Angle)); headers.emplace_back(make_unique<DoubleHeader>(v3dheadertypes::initialZoom, gl::Zoom0)); @@ -351,3 +353,5 @@ LightHeader::LightHeader(triple const& direction, prc::RGBAColour const& color) } //namespace camp #endif + +#endif |