Update trigonometry.scad

This commit is contained in:
Richard Milewski 2026-01-28 16:22:38 -08:00
parent ddd3245ba0
commit 51096258be

View file

@ -210,7 +210,6 @@ function opp_ang_to_adj(opp,ang) =
assert(is_finite(opp) && opp>=0, "Triangle side length should be a positive number." )
assert(is_finite(ang) && ang>-90 && ang<90, "The angle should be an acute angle." )
opp/tan(ang);
function ang_opp_to_adj(ang,opp) = opp_ang_to_adj(opp,ang);
// Function: ang_opp_to_adj()
// Synopsis: Returns the adjacent side length from the primary angle and the length of the opposite side.
@ -583,4 +582,7 @@ function opp_adj_to_ang(opp,adj) = adj_opp_to_ang(adj,opp);
// vim: expandtab tabstop=4 shiftwidth=4 softtabstop=4 nowrap