Subversion Repositories gelsvn

Rev

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

Rev 337 Rev 341
Line 325... Line 325...
325
	else
325
	else
326
	{
326
	{
327
		cout << "Either the format was unrecognized or the file did not have the appropriate extension" << endl;
327
		cout << "Either the format was unrecognized or the file did not have the appropriate extension" << endl;
328
		exit(0);
328
		exit(0);
329
	}		
329
	}		
330
/*    enable_textures(mesh);	
330
    enable_textures(mesh);	
331
    if(!mesh.has_normals())
331
    if(!mesh.has_normals())
332
    {
332
    {
333
        cout << "Computing normals" << endl;
333
        cout << "Computing normals" << endl;
334
        mesh.compute_normals();
334
        mesh.compute_normals();
335
    }
335
    }
336
*/	
336
 
337
    // Initialize Trackball
337
    // Initialize Trackball
338
    Vec3f c;
338
    Vec3f c;
339
    float r;
339
    float r;
340
    mesh.get_bsphere(c,r);
340
    mesh.get_bsphere(c,r);
341
    r *= 1.5;
341
    r *= 1.5;