fdf/scratch.txt
2024-12-20 12:28:29 +01:00

34 lines
1.4 KiB
Plaintext

// FdF by whaffman
// ============================
// [?] Help menu
// [a] / [d] Rotate around Z-axis
// [w] / [s] Rotate around X-axis
// [q] / [e] Rotate around Y-axis
// [z] / [x] Change Z-scale
// [=] / [-] Change Zoom
// [UP] / [DOWN] Change X-offset
// [LEFT] / [RIGHT] Change Y-offset
// [[] / []] Change animation speed
// [c] Change colormode
// [p] Change projection mode
// [ESC] Close window
// ============================
// const int x = 20;
// const int line_height = 25;
// int y;
// y = 1;
// mlx_put_string(fdf->mlx, "[?] Help menu", x, y++ * line_height);
// mlx_put_string(fdf->mlx, "[a] / [d] Rotate around Z-axis", x, y++ * line_height);
// mlx_put_string(fdf->mlx, "[w] / [s] Rotate around X-axis", x, y++ * line_height);
// mlx_put_string(fdf->mlx, "[q] / [e] Rotate around Y-axis", x, y++ * line_height);
// mlx_put_string(fdf->mlx, "[z] / [x] Change Z-scale", x, y++ * line_height);
// mlx_put_string(fdf->mlx, "[=] / [-] Change Zoom", x, y++ * line_height);
// mlx_put_string(fdf->mlx, "[UP] / [DOWN] Change X-offset", x, y++ * line_height);
// mlx_put_string(fdf->mlx, "[LEFT] / [RIGHT] Change Y-offset", x, y++ * line_height);
// mlx_put_string(fdf->mlx, "[[] / []] Change animation speed", x, y++ * line_height);
// mlx_put_string(fdf->mlx, "[ESC] Close window", x, y++ * line_height);