Changeset 3324 in orxonox.OLD for orxonox/branches/parenting/src
- Timestamp:
- Jan 3, 2005, 2:42:28 PM (20 years ago)
- Location:
- orxonox/branches/parenting/src
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
orxonox/branches/parenting/src/stdincl.h
r3319 r3324 31 31 32 32 #include "vector.h" 33 #include "matrix.h" 33 34 #include "curve.h" 34 35 #include "coordinates.h" -
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.