Lines Matching refs:d
103 f32 a0, a1, a2, r, d, cr; in GDSetLightSpot() local
129 d = ( 1.0F - cr ) * ( 1.0F - cr ); in GDSetLightSpot()
130 a0 = cr * ( cr - 2.0F ) / d; in GDSetLightSpot()
131 a1 = 2.0F / d; in GDSetLightSpot()
132 a2 = -1.0F / d; in GDSetLightSpot()
135 d = ( 1.0F - cr ) * ( 1.0F - cr ); in GDSetLightSpot()
136 a0 = -4.0F * cr / d; in GDSetLightSpot()
137 a1 = 4.0F * ( 1.0F + cr ) / d; in GDSetLightSpot()
138 a2 = -4.0F / d; in GDSetLightSpot()
141 d = ( 1.0F - cr ) * ( 1.0F - cr ); in GDSetLightSpot()
142 a0 = 1.0F - 2.0F * cr * cr / d; in GDSetLightSpot()
143 a1 = 4.0F * cr / d; in GDSetLightSpot()
144 a2 = -2.0F / d; in GDSetLightSpot()