Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

Changeset 3324 in orxonox.OLD for orxonox/branches/parenting/src/world.cc


Ignore:
Timestamp:
Jan 3, 2005, 2:42:28 PM (19 years ago)
Author:
bensch
Message:

orxonox/branches/parenting: rotated the normals from the debug-world

File:
1 edited

Legend:

Unmodified
Added
Removed
  • orxonox/branches/parenting/src/world.cc

    r3323 r3324  
    312312        Vector c4 = v5 - v1;
    313313        Vector zero = Vector (0,0,0);
    314         normal_vectors[i][j]=c1.cross(v4-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);
    315315        normal_vectors[i][j].normalize();
    316316      }
Note: See TracChangeset for help on using the changeset viewer.