summaryrefslogtreecommitdiff
path: root/tests/OffscreenView.cc
diff options
context:
space:
mode:
authorDon Bright <hugh.m.bright@gmail.com>2011-11-13 20:34:01 (GMT)
committerDon Bright <hugh.m.bright@gmail.com>2011-11-13 20:34:01 (GMT)
commitc4231685f6cba5feec8bcec324a3fd884687d56e (patch)
tree37d0406d3017b509e147f88fea91e4972dfd2d48 /tests/OffscreenView.cc
parent1f9ce62573b65715e7b134ad4d8c8079fc28aa44 (diff)
option '--info' to opencsgtest for windows. also output html + wiki code.
Diffstat (limited to 'tests/OffscreenView.cc')
-rw-r--r--tests/OffscreenView.cc5
1 files changed, 5 insertions, 0 deletions
diff --git a/tests/OffscreenView.cc b/tests/OffscreenView.cc
index 46951c1..2a4a27e 100644
--- a/tests/OffscreenView.cc
+++ b/tests/OffscreenView.cc
@@ -249,6 +249,11 @@ bool OffscreenView::save(const char *filename)
return save_framebuffer(this->ctx, filename);
}
+std::string OffscreenView::getInfo()
+{
+ return offscreen_context_getinfo(this->ctx);
+}
+
void OffscreenView::setCamera(const Eigen::Vector3d &pos, const Eigen::Vector3d &center)
{
this->camera_eye = pos;
contact: Jan Huwald // Impressum