projects
/
libs
/
vr.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Give combiners more control over rendering
[libs/vr.git]
/
source
/
stereocombiner.h
diff --git
a/source/stereocombiner.h
b/source/stereocombiner.h
index 8a351eaeb5d6f594b78733822c5731d04b14c059..5439aeba673da3a0d46de75a60e1445995e2dd7a 100644
(file)
--- a/
source/stereocombiner.h
+++ b/
source/stereocombiner.h
@@
-26,6
+26,7
@@
public:
const Geometry::Angle<float> &get_field_of_view() const { return fov; }
float get_frustum_skew() const { return frustum_skew; }
+ virtual void prepare() const { }
virtual void render(const GL::Texture2D &, const GL::Texture2D &) const = 0;
};