
# ///////////////////////////////////////////////////////////////////////////
#
#
#
# ///////////////////////////////////////////////////////////////////////////
class GLLight:
    def __init__(self, pos=(0.0,0.0,0.0), color=(1.0,1.0,1.0)):
        self.pos = pos
        self.color = color

        self.ambient = (1.0, 1.0, 1.0)
        self.diffuse = (1.0, 1.0, 1.0)
        # attenuation
        self.constant = 1.0
        self.linear = 0.09
        self.quadratic = 0.032


# ///////////////////////////////////////////////////////////////////////////
#
#
#
# ///////////////////////////////////////////////////////////////////////////
class GLLight:
    def __init__(self, pos=(0.0,0.0,0.0), color=(1.0,1.0,1.0)):
        self.pos = pos
        self.color = color

        self.ambient = (1.0, 1.0, 1.0)
        self.diffuse = (1.0, 1.0, 1.0)
        # attenuation
        self.constant = 1.0
        self.linear = 0.09
        self.quadratic = 0.032

# /////////////////////////////////////////////////////////////////////////// # # # # /////////////////////////////////////////////////////////////////////////// # attenuation