Moved example physics stuff into the sample game

This commit is contained in:
Matt Thorson
2020-09-12 23:52:13 -07:00
parent ae21809566
commit ce099d0cc8
17 changed files with 127 additions and 57 deletions

View File

@ -56,6 +56,7 @@ namespace Strawberry.SDL2
int32 num = 0;
GL.glUniform1iv(platformLayer.TextureMatrixLocation, 1, &num);
}
GL.glDrawElements(GL.GL_TRIANGLES, b.IndicesCount, GL.GL_UNSIGNED_INT, (void*)(b.IndicesStart * sizeof(uint32)));
}