| 336 | } |
| 337 | |
| 338 | void GeometryApp::fileDrop( FileDropEvent event ) |
| 339 | { |
| 340 | try { |
| 341 | gl::Texture::Format fmt; |
| 342 | fmt.setAutoInternalFormat(); |
| 343 | fmt.setWrap( GL_REPEAT, GL_REPEAT ); |
| 344 | |
| 345 | mTexture = gl::Texture2d::create( loadImage( event.getFile( 0 ) ), fmt ); |
| 346 | } |
| 347 | catch( const std::exception &exc ) { |
| 348 | } |
| 349 | } |
| 350 | |
| 351 | void GeometryApp::updateGui() |
| 352 | { |
no test coverage detected