JacksonHoggard / voodoo2d

👹 2D Java Game Engine built in OpenGL
MIT License
131 stars 50 forks source link

Loading a single texture as a GameObject throws an error #16

Closed JacksonHoggard closed 4 years ago

JacksonHoggard commented 4 years ago

Describe the bug When calling

Mesh.loadMesh("filename");

it tries to create a spritesheet for the mesh, but we only want to use one texture for our gameObject, meaning it throws an error trying to do this.

To Reproduce Steps to reproduce the behavior:

  1. Create a mesh using Mesh.loadMesh("filename");

Expected behavior The texture should be loaded into the mesh and no error should be thrown.

Screenshots If applicable, add screenshots to help explain your problem. image

Desktop (please complete the following information):