Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

Changeset 2112 in orxonox.OLD for orxonox/branches/chris/src/collision.cc


Ignore:
Timestamp:
Jul 12, 2004, 10:28:25 PM (21 years ago)
Author:
chris
Message:

orxonox/branches/chris: Implemented quaternion class… but something is still f up… the camera keeps pointing into the wrong direction… matrix rotation calculation seems not to be my strenght…

File:
1 edited

Legend:

Unmodified
Added
Removed
  • orxonox/branches/chris/src/collision.cc

    r2100 r2112  
    180180  bool r = false;
    181181  int ia, ib;
    182   Vector mra = pa->r + rotate_vector( ta->m, pa->w);
    183   Vector mrb = pb->r + rotate_vector( tb->m, pb->w);
     182  Vector mra = pa->r + pa->w.apply(ta->m);
     183  Vector mrb = pb->r + pb->w.apply(tb->m);
    184184  CC_Tree* use_a, *use_b;
    185185 
     
    333333  bool r = false;
    334334  int i;
    335   Vector mr = p->r + rotate_vector( t->m, p->w);
     335  Vector mr = p->r + p->w.apply (t->m);
    336336  CC_Tree* use_t;
    337337  Vector* ips;
Note: See TracChangeset for help on using the changeset viewer.