| 469 | } |
| 470 | |
| 471 | afxConstraintID afxConstraintMgr::createReferenceEffect(StringTableEntry which, afxEffectWrapper* ew) |
| 472 | { |
| 473 | afxEffectConstraint* cons = new afxEffectConstraint(this, which); |
| 474 | //cons->cons_def = def; |
| 475 | cons->mCons_def.mDef_type = afxConstraintDef::CONS_EFFECT; |
| 476 | cons->mCons_def.mCons_src_name = which; |
| 477 | afxConstraintList* list = new afxConstraintList(); |
| 478 | list->push_back(cons); |
| 479 | mConstraints_v.push_back(list); |
| 480 | |
| 481 | return setReferenceEffect(which, ew); |
| 482 | } |
| 483 | |
| 484 | void afxConstraintMgr::setReferencePoint(afxConstraintID id, Point3F point, Point3F vector) |
| 485 | { |