Added JS engine.
This commit is contained in:
@ -38,6 +38,8 @@ void imageSetTextureAndCrop(image_t *image, texture_t *texture,
|
||||
v1 = v0 + (height / texture->height);
|
||||
|
||||
image->texture = texture;
|
||||
image->width = width;
|
||||
image->height = height;
|
||||
quadInit(&image->quad, 0,
|
||||
0,0,u0,v0,
|
||||
1,1,u1,v1
|
||||
|
Reference in New Issue
Block a user