Update torus.c

This commit is contained in:
Arkaprabha Chakraborty
2022-05-18 19:58:38 +05:30
parent 548e7f7d50
commit 1cba259d43

View File

@@ -199,7 +199,9 @@ Copyright (c) 2021 Arkaprabha Chakraborty\n");
screen_dist = term_size * 5 * 3 / (8 * (1 + 2)); screen_dist = term_size * 5 * 3 / (8 * (1 + 2));
} }
// Building, dumping and clearing the frame into the terminal // Building the frame
// Dumping the frame into the terminal
// Clearing the frame from the terminal
buffer = build_frame(buffer, term_size, i, screen_dist); buffer = build_frame(buffer, term_size, i, screen_dist);
dump_frame(buffer, term_size); dump_frame(buffer, term_size);
clear_terminal(); clear_terminal();
@@ -213,7 +215,9 @@ Copyright (c) 2021 Arkaprabha Chakraborty\n");
screen_dist = term_size * 5 * 3 / (8 * (1 + 2)); screen_dist = term_size * 5 * 3 / (8 * (1 + 2));
for (int i = 0; !limit || i < frames; ++i) { for (int i = 0; !limit || i < frames; ++i) {
// Building, dumping and clearing the frame into the terminal // Building the frame
// Dumping the frame into the terminal
// Clearing the frame from the terminal
buffer = build_frame(buffer, term_size, i, screen_dist); buffer = build_frame(buffer, term_size, i, screen_dist);
dump_frame(buffer, term_size); dump_frame(buffer, term_size);
clear_terminal(); clear_terminal();