mirror of https://github.com/vitalif/openscad
40 lines
1.6 KiB
C++
40 lines
1.6 KiB
C++
#include "GLView.h"
|
|
|
|
GLView::GLView() {}
|
|
void GLView::setRenderer(Renderer* r) {}
|
|
void GLView::initializeGL() {}
|
|
void GLView::resizeGL(int w, int h) {}
|
|
void GLView::setCamera(const Camera &cam ) {assert(false && "not implemented");}
|
|
void GLView::paintGL() {}
|
|
void GLView::showSmallaxes(const Color4f &col) {}
|
|
void GLView::showAxes(const Color4f &col) {}
|
|
void GLView::showCrosshairs() {}
|
|
void GLView::setColorScheme(const ColorScheme &cs){assert(false && "not implemented");}
|
|
void GLView::setColorScheme(const std::string &cs) {assert(false && "not implemented");}
|
|
|
|
#include "ThrownTogetherRenderer.h"
|
|
|
|
ThrownTogetherRenderer::ThrownTogetherRenderer(CSGChain *root_chain,
|
|
CSGChain *highlights_chain, CSGChain *background_chain) {}
|
|
void ThrownTogetherRenderer::draw(bool /*showfaces*/, bool showedges) const {}
|
|
void ThrownTogetherRenderer::renderCSGChain(CSGChain *chain, bool
|
|
highlight, bool background, bool showedges, bool fberror) const {}
|
|
BoundingBox ThrownTogetherRenderer::getBoundingBox() const {assert(false && "not implemented");}
|
|
|
|
#include "CGALRenderer.h"
|
|
|
|
CGALRenderer::CGALRenderer(shared_ptr<const class Geometry> geom) {}
|
|
CGALRenderer::~CGALRenderer() {}
|
|
void CGALRenderer::draw(bool showfaces, bool showedges) const {}
|
|
BoundingBox CGALRenderer::getBoundingBox() const {assert(false && "not implemented");}
|
|
void CGALRenderer::setColorScheme(const ColorScheme &cs){assert(false && "not implemented");}
|
|
|
|
|
|
#include "system-gl.h"
|
|
|
|
double gl_version() { return -1; }
|
|
std::string glew_dump() { return std::string("NULLGL Glew"); }
|
|
std::string glew_extensions_dump() { return std::string("NULLGL Glew Extensions"); }
|
|
bool report_glerror(const char * function) { return false; }
|
|
|