fixes
This commit is contained in:
@@ -10,4 +10,4 @@ newmtl floor
|
|||||||
Ks 0.0000 0.0000 0.0000
|
Ks 0.0000 0.0000 0.0000
|
||||||
Ke 0.0000 0.0000 0.0000
|
Ke 0.0000 0.0000 0.0000
|
||||||
map_Ka floor_diffuse.jpg
|
map_Ka floor_diffuse.jpg
|
||||||
map_Kd floor_diffuse.jpg
|
map_Kd checker_huge.gif
|
||||||
|
|||||||
@@ -48,7 +48,6 @@ project "App_BulletExampleBrowser"
|
|||||||
"main.cpp",
|
"main.cpp",
|
||||||
"ExampleEntries.cpp",
|
"ExampleEntries.cpp",
|
||||||
|
|
||||||
"../TinyRenderer/Bullet2TinyRenderer.cpp",
|
|
||||||
"../TinyRenderer/geometry.cpp",
|
"../TinyRenderer/geometry.cpp",
|
||||||
"../TinyRenderer/model.cpp",
|
"../TinyRenderer/model.cpp",
|
||||||
"../TinyRenderer/tgaimage.cpp",
|
"../TinyRenderer/tgaimage.cpp",
|
||||||
|
|||||||
@@ -1082,7 +1082,7 @@ int MacOpenGLWindow::fileOpenDialog(char* filename, int maxNameLength)
|
|||||||
NSOpenGLContext *foo = [NSOpenGLContext currentContext];
|
NSOpenGLContext *foo = [NSOpenGLContext currentContext];
|
||||||
// get the url of a .txt file
|
// get the url of a .txt file
|
||||||
NSOpenPanel * zOpenPanel = [NSOpenPanel openPanel];
|
NSOpenPanel * zOpenPanel = [NSOpenPanel openPanel];
|
||||||
NSArray * zAryOfExtensions = [NSArray arrayWithObjects:@"urdf",@"bullet",nil];
|
NSArray * zAryOfExtensions = [NSArray arrayWithObjects:@"urdf",@"bullet",@"obj",@"sdf",nil];
|
||||||
[zOpenPanel setAllowedFileTypes:zAryOfExtensions];
|
[zOpenPanel setAllowedFileTypes:zAryOfExtensions];
|
||||||
NSInteger zIntResult = [zOpenPanel runModal];
|
NSInteger zIntResult = [zOpenPanel runModal];
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user