mirror of
https://github.com/BelfrySCAD/BOSL2.git
synced 2026-02-15 22:16:05 +00:00
Update trigonometry.scad
This commit is contained in:
parent
ddd3245ba0
commit
51096258be
1 changed files with 3 additions and 1 deletions
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Reference in a new issue