Implement rudimentary camera movement controls.

This commit is contained in:
2017-10-20 15:42:31 +02:00
parent 501a59d00b
commit f0937f253d
3 changed files with 60 additions and 19 deletions

View File

@@ -30,7 +30,7 @@ static void show_info_log(
LOG(INFO) << log.get() << endl;
}
GLuint fmri::loadTexture(DType const *data, unsigned int width, unsigned int height)
GLuint fmri::loadTexture(DType const *data, int width, int height)
{
// Load and scale texture
vector<DType> textureBuffer(data, data + (width * height));