def getCameraHpr(self): return vec3ToTriple(base.camera.getHpr())
def getCameraPos(self): return vec3ToTriple(base.camera.getPos())
def testVec3ToTriple(self): self.failUnlessEqual( vec3ToTriple( Vec3(1, 2, 3) ), (1, 2, 3) )
def testVec3ToTriple(self): self.failUnlessEqual(vec3ToTriple(Vec3(1, 2, 3)), (1, 2, 3))
def getCameraHpr(self): return vec3ToTriple( base.camera.getHpr() )
def getCameraPos(self): return vec3ToTriple( base.camera.getPos() )