def __init__(self, angleOfView=90, aspectRatio=1080 / 720, near=0.1, far=1000): super().__init__() self.projectionMatrix = Matrix.makePersepctive(angleOfView, aspectRatio, near, far) self.viewMatrix = Matrix.makeIdentity()
def __init__(self): self.transform = Matrix.makeIdentity() self.parent = None self.children = []