- From: Brian Birtles via GitHub <sysbot+gh@w3.org>
- Date: Fri, 26 Oct 2018 05:59:31 +0000
- To: public-css-archive@w3.org
Thanks Alan!
I was actually hoping you could explain this part too:
```cpp
double dot = a.axis.Dot(b.axis);
if (dot < 0)
return false;
double a_squared = a.axis.LengthSquared();
double b_squared = b.axis.LengthSquared();
double error = std::abs(1 - (dot * dot) / (a_squared * b_squared));
if (error > kAngleEpsilon)
return false;
result_axis = a.axis;
result_angle_a = a.angle;
result_angle_b = b.angle;
return true;
```
--
GitHub Notification of comment by birtles
Please view or discuss this issue at https://github.com/w3c/csswg-drafts/pull/3250#issuecomment-433295742 using your GitHub account
Received on Friday, 26 October 2018 05:59:32 UTC