'called in the middle of ondraw after the buffer has been cleared'

def draw_objects(self):

    self.create_objects()
    glPushMatrix()
    glMultMatrixd(build_rotmatrix(self.basequat))
    platformx0 = ((- self.build_dimensions[3]) - (self.parent.platform.width / 2))
    platformy0 = ((- self.build_dimensions[4]) - (self.parent.platform.depth / 2))
    glTranslatef(platformx0, platformy0, 0)
    for obj in self.parent.objects:
        if ((not obj.model) or (not obj.model.loaded) or (not obj.model.initialized)):
            continue
        glPushMatrix()
        glTranslatef(*obj.offsets)
        glRotatef(obj.rot, 0.0, 0.0, 1.0)
        glTranslatef(*obj.centeroffset)
        glScalef(*obj.scale)
        obj.model.display()
        glPopMatrix()
    glPopMatrix()
