Closed DaveInCaz closed 1 year ago
Hi @DaveInCaz ,
This is definitely not correct. I plan a bigger rewrite based on #200 but until then, please feel free to send a PR.
Thank you for addressing this. Sorry I hadn't had a chance to reply earlier.
Sure, no worries
Cross product behaves differently depending on whether you pass it a UnitVector3D or a Vector3D, even if they are numerically identical.
Example (from the VS immediate window):
but in contrast:
The reason for this seems to be that
CrossProduct(UnitVector3D)
internally callsCreate(...)
butCrossProduct(Vector3D)
does not.Unless there is a reason for this discrepancy (?) it seems unintentional. I'd be happy to submit a PR so that both would use
Create
if that can be confirmed.Thanks