Subversion Repositories gelsvn

Rev

Rev 632 | Rev 637 | Go to most recent revision | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed

Rev 632 Rev 636
Line 86... Line 86...
86
						}
86
						}
87
		
87
		
88
				/** Move closer. Typically called from the keyboard callback */
88
				/** Move closer. Typically called from the keyboard callback */
89
				void closer()
89
				void closer()
90
						{
90
						{
91
                            r = std::max(0.0f, r - dr);
91
                            r = max(0.0f, r - dr);
92
						}
92
						}
93
 
93
 
94
				/** Roll ball. Call with the x,y coordinates. This function is typically
94
				/** Roll ball. Call with the x,y coordinates. This function is typically
95
						called from GLUT's mouse motion callback. */
95
						called from GLUT's mouse motion callback. */
96
				void roll(int x, int y);
96
				void roll(int x, int y);