Does this vector contain finite coordinates?
()
| 131 | |
| 132 | /// Does this vector contain finite coordinates? |
| 133 | func (v B2Vec2) IsValid() bool { |
| 134 | return B2IsValid(v.X) && B2IsValid(v.Y) |
| 135 | } |
| 136 | |
| 137 | /// Get the skew vector such that dot(skew_vec, other) == cross(vec, other) |
| 138 | func (v B2Vec2) Skew() B2Vec2 { |
no test coverage detected