File tree Expand file tree Collapse file tree 1 file changed +4
-4
lines changed Expand file tree Collapse file tree 1 file changed +4
-4
lines changed Original file line number Diff line number Diff line change 113113
114114function circumcenter_on_unit_sphere (a:: UnitSphericalPoint , b:: UnitSphericalPoint , c:: UnitSphericalPoint )
115115 LinearAlgebra. normalize (
116- robust_cross_product (a, b) +
117- robust_cross_product (b, c) +
118- robust_cross_product (c, a)
116+ LinearAlgebra . cross (a, b) +
117+ LinearAlgebra . cross (b, c) +
118+ LinearAlgebra . cross (c, a)
119119 )
120120end
121121
128128
129129function _is_ccw_unit_sphere (v_0:: S , v_c:: S , v_i:: S ) where S <: UnitSphericalPoint
130130 # checks if the smaller interior angle for the great circles connecting u-v and v-w is CCW
131- return (LinearAlgebra. dot (robust_cross_product (v_c - v_0, v_i - v_c), v_i) < 0 )
131+ return (LinearAlgebra. dot (LinearAlgebra . cross (v_c - v_0, v_i - v_c), v_i) < 0 )
132132end
133133
134134function angle_between (a:: S , b:: S , c:: S ) where S <: UnitSphericalPoint
You can’t perform that action at this time.
0 commit comments