Skip to content

Commit

Permalink
Fix camera position buffer factor (#57)
Browse files Browse the repository at this point in the history
* set a heigh multiplier

* only use hidden height factor attr in default height method

* fix camera position buffer

* remove buffer from camera position
  • Loading branch information
chrisjonesBSU authored Sep 18, 2023
1 parent ac038b5 commit d13ab94
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions cmeutils/visualize.py
Original file line number Diff line number Diff line change
Expand Up @@ -263,8 +263,8 @@ def height(self, value):
@property
def camera_position(self):
"""The camera position.
Determined from box dimensions are FresnelGSD.view_axis"""
return (self.snapshot.configuration.box[:3] * self.view_axis) - 0.5
Determined from box dimensions and FresnelGSD.view_axis"""
return self.snapshot.configuration.box[:3] * self.view_axis

@property
def look_at(self):
Expand Down

0 comments on commit d13ab94

Please sign in to comment.