Lines Matching refs:cr
103 f32 a0, a1, a2, r, d, cr; in GDSetLightSpot() local
110 cr = cosf(r); in GDSetLightSpot()
114 a0 = - 1000.0F * cr; in GDSetLightSpot()
119 a0 = - cr / ( 1.0F - cr ); in GDSetLightSpot()
120 a1 = 1.0F / ( 1.0F - cr ); in GDSetLightSpot()
125 a1 = - cr / ( 1.0F - cr ); in GDSetLightSpot()
126 a2 = 1.0F / ( 1.0F - cr ); in GDSetLightSpot()
129 d = ( 1.0F - cr ) * ( 1.0F - cr ); in GDSetLightSpot()
130 a0 = cr * ( cr - 2.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()
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()