| 1080 | |
| 1081 | |
| 1082 | void G4OpenGLViewer::rotateScene(G4double dx, G4double dy) |
| 1083 | { |
| 1084 | if (fVP.GetRotationStyle() == G4ViewParameters::freeRotation) { |
| 1085 | rotateSceneInViewDirection(dx,dy); |
| 1086 | } else { |
| 1087 | if( dx != 0) { |
| 1088 | rotateSceneThetaPhi(dx,0); |
| 1089 | } |
| 1090 | if( dy != 0) { |
| 1091 | rotateSceneThetaPhi(0,dy); |
| 1092 | } |
| 1093 | } |
| 1094 | } |
| 1095 | |
| 1096 | |
| 1097 | void G4OpenGLViewer::rotateSceneToggle(G4double dx, G4double dy) |
no outgoing calls
no test coverage detected