Make normals a bit smaller and better to control

This commit is contained in:
hasufell 2014-05-17 03:32:14 +02:00
parent cb54d54e2c
commit 20533eea4b
No known key found for this signature in database
GPG Key ID: 220CD1C5BDEED020
1 changed files with 3 additions and 3 deletions

View File

@ -81,7 +81,7 @@ static float calculateFPS();
static void draw_normals(HE_obj const * const obj,
float const scale_inc)
{
static float normals_scale_factor = 0.3f;
static float normals_scale_factor = 0.1f;
static float line_width = 2;
vector vec;
@ -572,11 +572,11 @@ void keyboard(unsigned char key, int x, int y)
glutPostRedisplay();
break;
case 'k':
draw_normals(obj, 0.02f);
draw_normals(obj, 0.01f);
glutPostRedisplay();
break;
case 'l':
draw_normals(obj, -0.02f);
draw_normals(obj, -0.01f);
glutPostRedisplay();
break;
case 'w':