mirror of
https://gitlab.com/sheaf/metabrush.git
synced 2024-11-23 23:44:07 +00:00
fix orientation computation
This commit is contained in:
parent
92efc4127c
commit
326487942e
|
@ -114,7 +114,7 @@ splineTangents spline@( Spline { splineStart = sp0, splineCurves = curves } )
|
|||
cp1 = view typed scp1
|
||||
cp2 = view typed scp2
|
||||
q = view typed sq
|
||||
-> ( p --> cp1 ) : ( cp2 --> q ) : go q crvs
|
||||
-> ( p --> cp1 ) : ( cp1 --> cp2 ) : ( cp2 --> q ) : go q crvs
|
||||
|
||||
-- | Checks whether a 2D vector lies "in between" two other vectors according to a given orientation,
|
||||
-- i.e. whether the angle of the query vector lies in between the angles of the start and end vectors.
|
||||
|
|
Loading…
Reference in a new issue