float3 OpenSteer::SteerLibrary:: xxxsteerForSeek (const AbstractVehicle& v, const float3& target) { const float3 offset = float3_subtract(target, make_float3(v.position())); const float3 desiredVelocity = float3_truncateLength(offset, v.maxSpeed()); return float3_subtract(desiredVelocity, v.velocity()); }