Changeset 21791 for issm/trunk-jpl/src/c/bamg/det.h
- Timestamp:
- 07/13/17 16:09:13 (8 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
issm/trunk-jpl/src/c/bamg/det.h
r15061 r21791 6 6 namespace bamg { 7 7 8 Icoor2inline det(const I2 &a,const I2 & b,const I2 &c){9 Icoor2bax = b.x - a.x ,bay = b.y - a.y;10 Icoor2cax = c.x - a.x ,cay = c.y - a.y;8 long long inline det(const I2 &a,const I2 & b,const I2 &c){ 9 long long bax = b.x - a.x ,bay = b.y - a.y; 10 long long cax = c.x - a.x ,cay = c.y - a.y; 11 11 return bax*cay - bay*cax; 12 12 }
Note:
See TracChangeset
for help on using the changeset viewer.