mirror of
https://github.com/panda3d/panda3d.git
synced 2025-10-02 09:52:27 -04:00
*** empty log message ***
This commit is contained in:
parent
1b7175bcf4
commit
3ee73860c4
18
direct/src/showbase/ThreeUpShow.py
Normal file
18
direct/src/showbase/ThreeUpShow.py
Normal file
@ -0,0 +1,18 @@
|
||||
|
||||
import ShowBase
|
||||
|
||||
class ThreeUpShow(ShowBase.ShowBase):
|
||||
def __init__(self):
|
||||
ShowBase.ShowBase.__init__(self)
|
||||
|
||||
def makeCamera(self, win, chan = None, layer = None, layerSort = 0,
|
||||
scene = None,
|
||||
displayRegion = (0, 1, 0, 1), aspectRatio = None):
|
||||
self.camRS=ShowBase.ShowBase.makeCamera(
|
||||
self, win, displayRegion = (.5, 1, 0, 1), aspectRatio=.67, camName='camRS')
|
||||
self.camLL=ShowBase.ShowBase.makeCamera(
|
||||
self, win, displayRegion = (0, .5, 0, .5), camName='camLL')
|
||||
self.camUR=ShowBase.ShowBase.makeCamera(
|
||||
self, win, displayRegion = (0, .5, .5, 1), camName='camUR')
|
||||
return self.camUR
|
||||
|
Loading…
x
Reference in New Issue
Block a user