mirror of
https://gitlab.freedesktop.org/monado/monado.git
synced 2024-12-28 02:26:16 +00:00
d/ns: Some clang-tidy cleanups
This commit is contained in:
parent
97d711a9ef
commit
83b91ea4a9
|
@ -189,14 +189,14 @@ OpticalSystem::RenderUVToDisplayUV(const Vector3 &inputUV)
|
|||
|
||||
Vector2
|
||||
OpticalSystem::SolveDisplayUVToRenderUV(const Vector2 &inputUV,
|
||||
Vector2 initailGuess,
|
||||
Vector2 const &initialGuess,
|
||||
int iterations)
|
||||
{
|
||||
|
||||
float epsilon = 0.0001f;
|
||||
static const float epsilon = 0.0001f;
|
||||
Vector2 curCameraUV;
|
||||
curCameraUV.x = initailGuess.x;
|
||||
curCameraUV.y = initailGuess.y;
|
||||
curCameraUV.x = initialGuess.x;
|
||||
curCameraUV.y = initialGuess.y;
|
||||
Vector2 curDisplayUV;
|
||||
|
||||
for (int i = 0; i < iterations; i++) {
|
||||
|
|
|
@ -33,7 +33,7 @@ public:
|
|||
|
||||
Vector2
|
||||
SolveDisplayUVToRenderUV(const Vector2 &inputUV,
|
||||
Vector2 initailGuess,
|
||||
Vector2 const &initialGuess,
|
||||
int iterations);
|
||||
|
||||
Vector2
|
||||
|
|
Loading…
Reference in a new issue