- Timestamp:
- Jan 10, 2007, 2:19:25 PM (18 years ago)
- Location:
- branches/playability/src
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/playability/src/util/track/track.cc
r10097 r10209 196 196 { 197 197 Vector tmp = this->calcPos(); 198 Quaternion quat = Quaternion(this->calcDir(), Vector(this->curve->calcAcc(this->localTime/this->duration).x,1,this->curve->calcAcc(this->localTime/this->duration).z)); 198 //Quaternion quat = Quaternion(this->calcDir(), Vector(this->curve->calcAcc(this->localTime/this->duration).x,1,this->curve->calcAcc(this->localTime/this->duration).z)); 199 Quaternion quat = Quaternion(this->calcDir(), 0); 199 200 200 201 Vector v(0.0, 1.0, 0.0); -
branches/playability/src/world_entities/world_entity.cc
r10194 r10209 169 169 void WorldEntity::addTrack(const TiXmlElement* root) 170 170 { 171 172 this->entityTrack = new Track( );171 // The problem we have is most likely here. The track should be constructed WITH the XML-Code 172 this->entityTrack = new Track(root); 173 173 this->setParent(this->entityTrack->getTrackNode()); 174 174 this->entityTrack->getTrackNode()->setParentMode(PNODE_ALL); 175 LOAD_PARAM_START_CYCLE(root, element);175 /*LOAD_PARAM_START_CYCLE(root, element); 176 176 { 177 177 PRINTF(4)("element is: %s\n", element->Value()); 178 178 Factory::fabricate(element); 179 179 } 180 LOAD_PARAM_END_CYCLE(element); 180 LOAD_PARAM_END_CYCLE(element);*/ 181 181 182 182
Note: See TracChangeset
for help on using the changeset viewer.