Changeset 375 in flair-src for trunk/lib/FlairSimulator/src/Model_impl.cpp
- Timestamp:
- 12/09/20 14:32:49 (3 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/lib/FlairSimulator/src/Model_impl.cpp
r361 r375 229 229 // TODO: setEllipsoidRadius should be called in Model::setScale 230 230 // but we need to call recalculateBoundingBox 231 231 232 anim->setEllipsoidRadius(getTransformedBoundingBox().getExtent()); 232 233 233 234 if (anim->collisionOccurred() == true) { 234 235 vector3df pos; … … 238 239 nodePosition = getPosition(); 239 240 pos_rel = pos - nodePosition; 240 //printf("collision %f %f %f\n",pos.X,pos.Y,pos.Z);241 //printf("object %f %f %f\n",nodePosition.X,nodePosition.Y,nodePosition.Z);242 //printf("rel %f %f %f\n",pos_rel.X,pos_rel.Z,pos_rel.Y);241 //printf("collision %f %f %f\n",pos.X,pos.Y,pos.Z); 242 //printf("object %f %f %f\n",nodePosition.X,nodePosition.Y,nodePosition.Z); 243 //printf("rel %f %f %f\n",pos_rel.X,pos_rel.Z,pos_rel.Y); 243 244 244 245 collision_mutex->GetMutex();
Note:
See TracChangeset
for help on using the changeset viewer.