Skip to content

Commit

Permalink
bugfix: sphere geometry
Browse files Browse the repository at this point in the history
  • Loading branch information
astraw committed Oct 24, 2015
1 parent 4fc5d73 commit 26cfca0
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/flyvr/simple_geom.py
Expand Up @@ -411,7 +411,7 @@ def get_first_surface(self,a,b):
y = ay+sy*tmin
z = az+sz*tmin

result = np.vstack((x,y,z)).T
result = np.vstack((x+self.center.x,y+self.center.y,z+self.center.z)).T
assert result.shape==inshape
return result

Expand Down

0 comments on commit 26cfca0

Please sign in to comment.