Skip to content

Commit

Permalink
[gui] Update camera.py (taichi-dev#3898)
Browse files Browse the repository at this point in the history
  • Loading branch information
95833 authored and quadpixels committed Jan 5, 2022
1 parent 9895adf commit e4f216b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion python/taichi/ui/camera.py
Original file line number Diff line number Diff line change
Expand Up @@ -50,7 +50,7 @@ def bottom(self, bottom):
def z_near(self, z_near):
self.ptr.z_near(z_near)

def z_near(self, z_far):
def z_far(self, z_far):
self.ptr.z_far(z_far)

# move the camera according to user inputs, FPS game style.
Expand Down

0 comments on commit e4f216b

Please sign in to comment.