Former-commit-id: f0657ee35658b7e69f8ab098c33fb2995859bcb8
@@ -20,7 +20,8 @@ IGL_INLINE int igl::cocoa_key_to_anttweakbar_key(int key)
return TW_KEY_ESCAPE;
case 32:
return TW_KEY_SPACE;
- case 40:
+ // IN A GLUT APP 40 is (
+ //case 40:
case 63272:
return TW_KEY_DELETE;
case 63232:
@@ -3,6 +3,7 @@
#include "igl_inline.h"
namespace igl
{
+ //double POINT_COLOR[3] = {239./255.,213./255.,46./255.};
// Draw a nice looking, colored dot at a given point in 3d.
//
// Note: expects that GL_CURRENT_COLOR is set with the desired foreground color
@@ -60,7 +60,7 @@ IGL_INLINE bool igl::render_to_tga(
imgFile = fopen(tga_file.c_str(),"w");
if(NULL==imgFile)
- printf("IOError: %s could not be opened...",tga_file.c_str());
+ printf("IOError: %s could not be opened...\n",tga_file.c_str());
return false;
}