examples/renderer/19-affine-textures: Whole source file was indented one space.
This commit is contained in:
@@ -78,7 +78,8 @@
|
|||||||
}
|
}
|
||||||
|
|
||||||
/* This function runs once per frame, and is the heart of the program. */
|
/* This function runs once per frame, and is the heart of the program. */
|
||||||
SDL_AppResult SDL_AppIterate(void *appstate) {
|
SDL_AppResult SDL_AppIterate(void *appstate)
|
||||||
|
{
|
||||||
const float x0 = 0.5f * WINDOW_WIDTH;
|
const float x0 = 0.5f * WINDOW_WIDTH;
|
||||||
const float y0 = 0.5f * WINDOW_HEIGHT;
|
const float y0 = 0.5f * WINDOW_HEIGHT;
|
||||||
const float px = SDL_min(WINDOW_WIDTH, WINDOW_HEIGHT) / SDL_sqrtf(3.0f);
|
const float px = SDL_min(WINDOW_WIDTH, WINDOW_HEIGHT) / SDL_sqrtf(3.0f);
|
||||||
|
|||||||
Reference in New Issue
Block a user