mirror of
https://gitlab.rlp.net/mobitar/ReCo.jl.git
synced 2025-09-04 09:12:35 +00:00
Optimizations
This commit is contained in:
parent
7aa9ddd673
commit
5001c315ce
6 changed files with 53 additions and 36 deletions
|
@ -29,7 +29,8 @@ M = R * ((Ap + Bp) / 2)
|
|||
θ = atan(-M[2], M[1])
|
||||
|
||||
COM = project_back_from_unit_circle(θ, L)
|
||||
COMp = R * Point(cos(θ), -sin(θ))
|
||||
si, co = sincos(θ)
|
||||
COMp = R * Point(co, -si)
|
||||
|
||||
##
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue