mirror of
https://bitbucket.org/mfeemster/fractorium.git
synced 2025-07-06 00:06:00 -04:00
--User changes
-Add new Blur Cuve field which controls how blurring increases when moving from the center out. --Bug fixes -Undo Y axis flipping from previous commit, it never worked and is not worth the effort. --Code changes -The new field is a member of Ember and is called m_BlurCurve, and the corresponding xml field is called "blur_curve".
This commit is contained in:
@ -549,12 +549,7 @@ void GLWidget::paintGL()
|
||||
#else
|
||||
m_Program->bind();
|
||||
m_ProjMatrix.setToIdentity();
|
||||
|
||||
if (!controller->Renderer()->YAxisUp())
|
||||
m_ProjMatrix.ortho(-unitX, unitX, unitY, -unitY, -1, 1);//Projection matrix: OpenGL camera is always centered, just move the ember internally inside the renderer.
|
||||
else
|
||||
m_ProjMatrix.ortho(-unitX, unitX, -unitY, unitY, -1, 1);
|
||||
|
||||
m_ProjMatrix.ortho(-unitX, unitX, -unitY, unitY, -1, 1);//Projection matrix: OpenGL camera is always centered, just move the ember internally inside the renderer.
|
||||
m_ModelViewMatrix.setToIdentity();
|
||||
//this->DrawUnitSquare();
|
||||
controller->GLController()->DrawAffines(pre, post);
|
||||
|
Reference in New Issue
Block a user