| 470 | } |
| 471 | |
| 472 | float Car::getRotY() { |
| 473 | glm::quat orientation = car_body_model.orientation; |
| 474 | return glm::degrees(atan2(2*orientation.y*orientation.w - 2*orientation.x*orientation.z, 1 - 2*orientation.y*orientation.y - 2*orientation.z*orientation.z)); |
| 475 | } |
| 476 | |
| 477 | void Car::simulate() { |
| 478 | std::vector<double> raycastInputs; |
no outgoing calls
no test coverage detected