Lines Matching refs:cr
92 f32 a0, a1, a2, r, d, cr; in GDSetLightSpot() local
99 cr = cosf(r); in GDSetLightSpot()
103 a0 = - 1000.0F * cr; in GDSetLightSpot()
108 a0 = - cr / ( 1.0F - cr ); in GDSetLightSpot()
109 a1 = 1.0F / ( 1.0F - cr ); in GDSetLightSpot()
114 a1 = - cr / ( 1.0F - cr ); in GDSetLightSpot()
115 a2 = 1.0F / ( 1.0F - cr ); in GDSetLightSpot()
118 d = ( 1.0F - cr ) * ( 1.0F - cr ); in GDSetLightSpot()
119 a0 = cr * ( cr - 2.0F ) / d; in GDSetLightSpot()
124 d = ( 1.0F - cr ) * ( 1.0F - cr ); in GDSetLightSpot()
125 a0 = -4.0F * cr / d; in GDSetLightSpot()
126 a1 = 4.0F * ( 1.0F + cr ) / d; in GDSetLightSpot()
130 d = ( 1.0F - cr ) * ( 1.0F - cr ); in GDSetLightSpot()
131 a0 = 1.0F - 2.0F * cr * cr / d; in GDSetLightSpot()
132 a1 = 4.0F * cr / d; in GDSetLightSpot()