Skip to content
Snippets Groups Projects
Commit 0a0ebd1d authored by Florian Burgener's avatar Florian Burgener
Browse files

Fix comments

parent 0d3d544d
Branches
No related tags found
No related merge requests found
......@@ -34,13 +34,13 @@ int main(int argc, char *argv[]) {
gfx_clear(canvas, COLOR_BLACK);
draw_charges(canvas, charges, num_charges, x0, x1, y0, y1);
// Default strategy.
// // Default strategy.
// int num_points = 100;
// for (int i = 0; i < num_points; i += 1) {
// draw_field_lines(canvas, charges, num_charges, dx, vector2_create(rand_one(), rand_one()), x0, x1, y0, y1);
// }
// Alternative strategy 1.
// // Alternative strategy 1.
// for (int32_t i = 1; i < SCREEN_HEIGHT; i += 1) {
// for (int32_t j = 1; j < SCREEN_WIDTH; j += 1) {
// double x = 1.0 / (SCREEN_WIDTH * .05) * j;
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment