Skip to content
Snippets Groups Projects

Added orthogonal projection mode to the viewer.

Merged Julius Nehring-Wirxel requested to merge feature/orthogonal-projection into develop
7 files
+ 46
4
Compare changes
  • Side-by-side
  • Inline
Files
7
@@ -169,6 +169,16 @@ public:
return res;
}
static command sceneOrthogonalProjection(tg::aabb3 bounds)
{
command res{instruction::ModifyScene};
res.data = [bounds](Scene& s) {
s.orthogonalProjectionEnabled = true;
s.orthogonalProjectionBounds = bounds;
};
return res;
}
static command sceneClearAccum()
{
command res{instruction::ModifyScene};
Loading