|
|
|
@ -303,8 +303,8 @@ void Fountain::initializeGL ()
|
|
|
|
|
particle[loop].xi=float((TDEApplication::random()%50)-26.0f)*10.0f; // Random Speed On X Axis
|
|
|
|
|
particle[loop].yi=float((TDEApplication::random()%50)-25.0f)*10.0f; // Random Speed On Y Axis
|
|
|
|
|
particle[loop].zi=float((TDEApplication::random()%50)-25.0f)*10.0f; // Random Speed On Z Axis
|
|
|
|
|
particle[loop].xg=0.0f; // SetQt::Horizontal Pull To Zero
|
|
|
|
|
particle[loop].yg=-0.8f; // SetQt::Vertical Pull Downward
|
|
|
|
|
particle[loop].xg=0.0f; // Set Horizontal Pull To Zero
|
|
|
|
|
particle[loop].yg=-0.8f; // Set Vertical Pull Downward
|
|
|
|
|
particle[loop].zg=0.0f; // Set Pull On Z Axis To Zero
|
|
|
|
|
particle[loop].size=size; // Set particle size.
|
|
|
|
|
}
|
|
|
|
@ -424,8 +424,8 @@ void Fountain::paintGL ()
|
|
|
|
|
particle[loop].xi=float((TDEApplication::random()%50)-26.0f)*10.0f; // Random Speed On X Axis
|
|
|
|
|
particle[loop].yi=float((TDEApplication::random()%50)-25.0f)*10.0f; // Random Speed On Y Axis
|
|
|
|
|
particle[loop].zi=float((TDEApplication::random()%50)-25.0f)*10.0f; // Random Speed On Z Axis
|
|
|
|
|
particle[loop].xg=0.0f; // SetQt::Horizontal Pull To Zero
|
|
|
|
|
particle[loop].yg=-0.8f; // SetQt::Vertical Pull Downward
|
|
|
|
|
particle[loop].xg=0.0f; // Set Horizontal Pull To Zero
|
|
|
|
|
particle[loop].yg=-0.8f; // Set Vertical Pull Downward
|
|
|
|
|
particle[loop].zg=0.0f; // Set Pull On Z Axis To Zero
|
|
|
|
|
particle[loop].size=size; // Set particle size.
|
|
|
|
|
}
|
|
|
|
|