mirror of
https://github.com/panda3d/panda3d.git
synced 2025-10-05 11:28:17 -04:00
oops, typo
This commit is contained in:
parent
a631177547
commit
e91bd30f2a
@ -73,7 +73,6 @@ def setupMirror(name, width, height):
|
|||||||
|
|
||||||
# Spawn a task to keep that camera on the opposite side of the
|
# Spawn a task to keep that camera on the opposite side of the
|
||||||
# mirror.
|
# mirror.
|
||||||
ul =
|
|
||||||
def moveCamera(task, cameraNP = cameraNP, plane = plane,
|
def moveCamera(task, cameraNP = cameraNP, plane = plane,
|
||||||
planeNP = planeNP, card = card, lens = lens,
|
planeNP = planeNP, card = card, lens = lens,
|
||||||
width = width, height = height):
|
width = width, height = height):
|
||||||
@ -103,7 +102,7 @@ def setupMirror(name, width, height):
|
|||||||
return root
|
return root
|
||||||
|
|
||||||
def showFrustum(np):
|
def showFrustum(np):
|
||||||
# Reveal the frustum for a particular camera.
|
# Utility function to reveal the frustum for a particular camera.
|
||||||
cameraNP = np.find('**/+Camera')
|
cameraNP = np.find('**/+Camera')
|
||||||
camera = cameraNP.node()
|
camera = cameraNP.node()
|
||||||
lens = camera.getLens()
|
lens = camera.getLens()
|
||||||
|
Loading…
x
Reference in New Issue
Block a user