def draw3dpolys(self, resend, polynr): self.informdriver() #now I can upload the polys to the driver: if resend==1: #fblib.fbfreepolys() fblib.fbinit()#set visit=0 for i in self.polys.getthem(): fblib.fbaddpoly(i[0],i[1],i[2],polynr) fblib.fbdraw3dpolys(polynr)
def draw3dpolys(self, resend, polynr): self.informdriver() #now I can upload the polys to the driver: if resend == 1: #fblib.fbfreepolys() fblib.fbinit() #set visit=0 for i in self.polys.getthem(): fblib.fbaddpoly(i[0], i[1], i[2], polynr) fblib.fbdraw3dpolys(polynr)
def init(self): self.surface.informdriver() fblib.fbinit() for i in self.polys.getthem(): fblib.fbaddpoly(i[0],i[1],i[2],self.polynr) self.mynumber = self.polynr self.increment() print self.mynumber
def init(self): self.surface.informdriver() fblib.fbinit() for i in self.polys.getthem(): fblib.fbaddpoly(i[0], i[1], i[2], self.polynr) self.mynumber = self.polynr self.increment() print self.mynumber