mirror of
https://github.com/rwengine/openrw.git
synced 2024-11-22 10:22:52 +01:00
Removed weird angle calculation that broke the camera in vehicles.
This commit is contained in:
parent
b9462e077d
commit
290933d197
@ -175,7 +175,6 @@ void IngameState::tick(float dt)
|
||||
auto atrophy = std::min(1.f * glm::sign(_lookAngles.x - d) * dt, _lookAngles.x - d);
|
||||
_lookAngles.x -= atrophy;
|
||||
}
|
||||
angle *= glm::angleAxis(glm::roll(vehicle->getRotation()) + glm::radians(90.f), glm::vec3(0.f, 0.f, 1.f));
|
||||
}
|
||||
|
||||
// Move back from the character
|
||||
|
Loading…
Reference in New Issue
Block a user