Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

Changeset 3237 in orxonox.OLD for orxonox/trunk/src/collision.cc


Ignore:
Timestamp:
Dec 20, 2004, 1:53:52 AM (19 years ago)
Author:
bensch
Message:

orxonox/trunk: working again.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • orxonox/trunk/src/collision.cc

    r3231 r3237  
    104104        if( (t = a->root) == NULL) return false;
    105105       
    106   return cctreeTrace( pa, t, ahitflags, trace, impactpoint);
     106  return ccTreeTrace( pa, t, ahitflags, trace, impactpoint);
    107107}
    108108
     
    124124  if( (tb = b->root) == NULL) return false;
    125125 
    126   return cctreeIterate(pa, ta, ahitflags, pb, tb, bhitflags);
     126  return ccTreeIterate(pa, ta, ahitflags, pb, tb, bhitflags);
    127127}
    128128
     
    176176}
    177177
    178 bool cctreeIterate(const Placement* pa, CCTree* ta, unsigned long* ahitflags, const Placement* pb, CCTree* tb, unsigned long* bhitflags)
     178bool ccTreeIterate(const Placement* pa, CCTree* ta, unsigned long* ahitflags, const Placement* pb, CCTree* tb, unsigned long* bhitflags)
    179179{
    180180  bool r = false;
     
    203203        else useB = ta->data.b[ib];
    204204       
    205         r = r || cctreeIterate( pa, useA, ahitflags, pb, useB, bhitflags);
     205        r = r || ccTreeIterate( pa, useA, ahitflags, pb, useB, bhitflags);
    206206       
    207207        if( tb->n == 0) break;
     
    329329}
    330330
    331 bool cctreetrace( const Placement* p, CCTree* t, unsigned long* hitflags, const Line* trace, Vector* impactpoint)
     331bool ccTreeTrace( const Placement* p, CCTree* t, unsigned long* hitflags, const Line* trace, Vector* impactpoint)
    332332{
    333333  bool r = false;
     
    352352                for (i = 0; i < t->n; i++)
    353353                {
    354                         r = r || cctreeTrace (p, t->data.b[i], &(hfs[i]), trace, &(ips[i]));
     354                        r = r || ccTreeTrace (p, t->data.b[i], &(hfs[i]), trace, &(ips[i]));
    355355                }
    356356                if( r)
Note: See TracChangeset for help on using the changeset viewer.