Example #1
0
 def __init__(self):
     self.position = vec3(0, 0, 0)
     self.yaw = 0
     self.pitch = 0
     self.roll = 0
     self.frustrum = Frustrum()
     self.projection = GraphicsCard.screenProjection
     self.viewMatrix = None
     self.clipMatrix = None
Example #2
0
 def makeFrustrum(self):
     return Frustrum(self)
Example #3
0
 def __init__(self, ent, fov=60, aspect=float(4 / 3), zoom=0):
     self.ent = ent
     self.zoom = zoom
     self.projection = GraphicsCard.screenProjection
     self.frustrum = Frustrum()