OpenSteer::Vec3 
OpenSteer::PolylineSegmentedPath::mapPathDistanceToPoint (float pathDistance) const
{
    PathDistanceToPointMapping mapping;
    mapDistanceToPathAlike( *this, pathDistance, mapping );
    return mapping.pointOnPathCenterLine;
}
Exemplo n.º 2
0
Pathway::vec_type Pathway::mapPathDistanceToPoint (float pathDistance) const {
	PathDistanceToPointMapping mapping;
	mapDistanceToPathAlike(*this, pathDistance, mapping);
	return mapping.pointOnPathCenterLine;
}