Skip to content

Commit

Permalink
Fix shading in 2d
Browse files Browse the repository at this point in the history
This looks funky with the current shiny material,
but is less wrong than before
  • Loading branch information
sjackso committed Apr 5, 2019
1 parent cc4e107 commit 9512582
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/athena/viewer.py
Original file line number Diff line number Diff line change
Expand Up @@ -70,8 +70,8 @@ def reset2DCamera( self ):
ratio = self.width() / self.height()
x = 100 * ratio
self.camera().lens().setOrthographicProjection( -x, x, -100, 100, -100, 100 )
self.camera().setPosition( vec3d( 0, 0, 0 ) )
self.camera().setViewCenter( vec3d( 0, 0, -100) )
self.camera().setPosition( vec3d( 0, 0, 90 ) )
self.camera().setViewCenter( vec3d( 0, 0, 0) )
self.camera().rightVector = vec3d( 1, 0, 0 )
self.orientCamera()

Expand Down

0 comments on commit 9512582

Please sign in to comment.