| 81 | } |
| 82 | |
| 83 | Vector2D Terathon::Transform(const Vector2D& v, const Flector2D& F) |
| 84 | { |
| 85 | float xy = F.x * F.y * -2.0F; |
| 86 | float x2 = 1.0F - F.x * F.x * 2.0F; |
| 87 | float y2 = 1.0F - F.y * F.y * 2.0F; |
| 88 | return (Vector2D(x2 * v.x + xy * v.y, xy * v.x + y2 * v.y)); |
| 89 | } |
| 90 | |
| 91 | FlatPoint2D Terathon::Transform(const FlatPoint2D& q, const Flector2D& F) |
| 92 | { |
nothing calls this directly
no test coverage detected