Author: KermMartian
Posted: 09 Apr 2013 09:52:07 pm (GMT -5)
I'm using doubles, but there's no precision issue.
I didn't speak precisely. I use the determinant as an intermediate step towards computing barycentric coordinates on a triangle, and if the determinant is zero, that subsequent computation will divide by zero. I'm trying to understand what causes this case.
_________________
![]()
![]()
![]()
![]()
![]()
Posted: 09 Apr 2013 09:52:07 pm (GMT -5)
elfprince13 wrote: |
Are you already using double precision? Because it seems like very poor model design indeed if you need astronomical-scale values to represent it. |
Quote: |
[edit] Wait, wtf? Why are you doing division to calculate a determinant? That seems wrong. |
_________________




