Changeset 3324 in orxonox.OLD for orxonox/branches/parenting/src/world.cc
- Timestamp:
- Jan 3, 2005, 2:42:28 PM (19 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
orxonox/branches/parenting/src/world.cc
r3323 r3324 312 312 Vector c4 = v5 - v1; 313 313 Vector zero = Vector (0,0,0); 314 normal_vectors[i][j]=c1.cross(v 4-v2)+c2.cross(v1-v3)+c3.cross(v2-v4)+c4.cross(v3-v1);314 normal_vectors[i][j]=c1.cross(v3-v5)+c2.cross(v4-v2)+c3.cross(v5-v3)+c4.cross(v2-v4); 315 315 normal_vectors[i][j].normalize(); 316 316 }
Note: See TracChangeset
for help on using the changeset viewer.