Skip to content

Commit

Permalink
[gui] Update camera.py (#3898)
Browse files Browse the repository at this point in the history
  • Loading branch information
95833 authored Dec 30, 2021
1 parent e2de938 commit 0abce04
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 0abce04

Please sign in to comment.