separation of previous renderer into base and derivation complete
The previous iteration was fairly OpenGL-heavy. It's now been separated into a base class that is OpenGL independent and a derived class that is OpenGL-based. Over time this should allow for portability away from OpenGL if necessary.
This commit is contained in:
@@ -112,11 +112,6 @@ void ViewerPanel::SetTime(const int64_t ×tamp)
|
||||
viewer_->SetTime(timestamp);
|
||||
}
|
||||
|
||||
void ViewerPanel::SetTexture(RenderTexturePtr tex)
|
||||
{
|
||||
viewer_->SetTexture(tex);
|
||||
}
|
||||
|
||||
void ViewerPanel::changeEvent(QEvent *e)
|
||||
{
|
||||
if (e->type() == QEvent::LanguageChange) {
|
||||
|
||||
@@ -63,15 +63,6 @@ public:
|
||||
rational GetTime();
|
||||
|
||||
public slots:
|
||||
/**
|
||||
* @brief Set the texture to draw and draw it
|
||||
*
|
||||
* Wrapper function for Viewer::SetTexture().
|
||||
*
|
||||
* @param tex
|
||||
*/
|
||||
void SetTexture(RenderTexturePtr tex);
|
||||
|
||||
void SetTime(const int64_t& timestamp);
|
||||
|
||||
protected:
|
||||
|
||||
Reference in New Issue
Block a user