mirror of
https://github.com/MaSzyna-EU07/maszyna.git
synced 2026-07-20 11:29:18 +02:00
reformat: use auto on certain types
This commit is contained in:
@@ -171,7 +171,7 @@ cFrustum::cube_inside( float const X, float const Y, float const Z, float const
|
||||
|
||||
void cFrustum::normalize_plane( cFrustum::side const Side ) {
|
||||
|
||||
float magnitude =
|
||||
const float magnitude =
|
||||
std::sqrt(
|
||||
m_frustum[ Side ][ plane_A ] * m_frustum[ Side ][ plane_A ]
|
||||
+ m_frustum[ Side ][ plane_B ] * m_frustum[ Side ][ plane_B ]
|
||||
|
||||
Reference in New Issue
Block a user