Home
last modified time | relevance | path

Searched refs:BALL_R (Results 1 – 3 of 3) sorted by relevance

/dports/games/csmash/csmash-0.6.6/
H A DBallView2D.cpp52 RenderRect( theBall.GetX()-BALL_R/2, theBall.GetY()-BALL_R/2, in Redraw()
54 theBall.GetX()+BALL_R/2, theBall.GetY()+BALL_R/2, in Redraw()
64 RenderRect(theBall.GetX()-BALL_R/2, theBall.GetY()-BALL_R/2, TABLEHEIGHT, in Redraw()
65 theBall.GetX()+BALL_R/2, theBall.GetY()+BALL_R/2, TABLEHEIGHT, in Redraw()
70 RenderRect(theBall.GetX()-BALL_R/2, theBall.GetY()-BALL_R/2, 0.0, in Redraw()
71 theBall.GetX()+BALL_R/2, theBall.GetY()+BALL_R/2, 0.0, in Redraw()
98 RenderRect( theBall.GetX()-BALL_R/2, theBall.GetY()-BALL_R/2, in GetDamageRect()
100 theBall.GetX()+BALL_R/2, theBall.GetY()+BALL_R/2, in GetDamageRect()
113 theBall.GetX()+BALL_R/2, theBall.GetY()+BALL_R/2, TABLEHEIGHT, in GetDamageRect()
116 RenderRect(theBall.GetX()-BALL_R/2, theBall.GetY()-BALL_R/2, 0.0, in GetDamageRect()
[all …]
H A DBallView.cpp159 glVertex3f( BALL_R/2*cos(rad), 0.0F, BALL_R/2*sin(rad) ); in RedrawAlpha()
160 glVertex3f( BALL_R/2*cos(rad+3.141592/3), 0.0F, in RedrawAlpha()
161 BALL_R/2*sin(rad+3.141592/3) ); in RedrawAlpha()
162 glVertex3f( diff[0]+BALL_R/2*cos(rad+3.141592/3), in RedrawAlpha()
163 diff[1], diff[2]+BALL_R/2*sin(rad+3.141592/3) ); in RedrawAlpha()
164 glVertex3f( diff[0]+BALL_R/2*cos(rad), in RedrawAlpha()
165 diff[1], diff[2]+BALL_R/2*sin(rad) ); in RedrawAlpha()
185 gluSphere( m_quad, BALL_R, 12, 12 ); in RedrawAlpha()
345 gluSphere( m_quad, BALL_R, 12, 12 ); in DrawBall()
364 glVertex3f( (float)(theBall.GetX()+BALL_R*cos(rad)), in DrawShadow()
[all …]
H A Dttinc.h61 #define BALL_R ((float)(0.019)) macro