update solution of lab02

This commit is contained in:
2025-01-22 14:05:54 -05:00
parent 93388c1fe2
commit b638fdea68
8 changed files with 52 additions and 12 deletions

View File

@@ -20,6 +20,6 @@ double compute_slope(const Point &a, const Point &b) {
double run_x = b.get_x() - a.get_x();
double run_z = b.get_z() - a.get_z();
double run = sqrt(run_x*run_x + run_z*run_z);
double answer = rise / run;
//double answer = rise / run;
return rise / run;
}