Welcome, guest! Login / Register - Why register?
Psst.. new poll here.
Psst.. new forums here.
Microsoft is blocking us again (TY IP Reputation!) so just use oauth login instead. :)

Paste

Pasted as C++ by ricky ( 17 years ago )
if(radioGroupTheme->get_int_val() == 0){
  //Camera Controls - AZTEC THEME
  if(radioGroupCam1->get_int_val() == 0) {
    glTranslatef( obj_pos[0], obj_pos[1]-10, -obj_pos[2]-25 );

    glRotated(90.0, 0.0,1.0,0.0 );
    glRotated(60.0, 0.0,0.0,1.0 );
  }
   else if (radioGroupCam1->get_int_val() == 1) {  
    glTranslatef( obj_pos[0], obj_pos[1]-10, -obj_pos[2]-25 );

    glRotated(-90.0, 0.0,1.0,0.0 );
    glRotated( -60.0, 0.0,0.0,1.0 );
  } 

  else if (radioGroupCam1->get_int_val() == 2) {  
    glTranslatef( obj_pos[0], obj_pos[1]-10, -obj_pos[2]-30 );

    glRotated(-90.0, 0.0,1.0,0.0 );
    glRotated( -60.0, 0.0,0.0,1.0 );
  } 
  }

 

Revise this Paste

Your Name: Code Language: