Obvious, isn’t it?
30, Nov, 2019Did you know that sign of this determinant checks on which side of plane abc, a point d is:
| ax ay az 1 | | ax-dx ay-dy az-dz | | bx by bz 1 | == | bx-dx by-dy bz-dz | | cx cy cz 1 | | cx-dx cy-dy cz-dz | | dx dy dz 1 |
Or whether vector ab turns around in direction of cd (a second interpretation). A little cleaner than cross/dot product version. And less floating point errors.
- Posted by michal in
- Add a comment