diff options
author | Karl Berry <karl@freefriends.org> | 2022-01-20 21:32:08 +0000 |
---|---|---|
committer | Karl Berry <karl@freefriends.org> | 2022-01-20 21:32:08 +0000 |
commit | 5597c98c7297769c02e0b212e2f0c69ef97d80be (patch) | |
tree | facfbc28006eba69967cfebf968d42a1b9b4593c /Build/source/utils/asymptote/v3dfile.cc | |
parent | 598ee1b5f5190f337b64668ad53327e9643fc06c (diff) |
asy 2.76 sources
git-svn-id: svn://tug.org/texlive/trunk@61672 c570f23f-e606-0410-a88d-b1316a301751
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 |