mirror of
https://github.com/MaSzyna-EU07/maszyna.git
synced 2026-07-18 01:59:19 +02:00
Remove not needed casts, variables and switch from double precission to float precission for some angle vectors
This commit is contained in:
@@ -302,7 +302,7 @@ smoke_source::location() const {
|
||||
m_offset.x * m_owner.vehicle->VectorLeft()
|
||||
+ m_offset.y * m_owner.vehicle->VectorUp()
|
||||
+ m_offset.z * m_owner.vehicle->VectorFront() };
|
||||
location += glm::dvec3{ m_owner.vehicle->GetPosition() };
|
||||
location += m_owner.vehicle->GetPosition();
|
||||
break;
|
||||
}
|
||||
case owner_type::node: {
|
||||
|
||||
Reference in New Issue
Block a user