mirror of
https://github.com/boostorg/geometry.git
synced 2025-05-09 23:24:02 +00:00
Merge pull request #1275 from boostorg/fix/initialize_ob_tran
Initialize variables in ob_tran projection
This commit is contained in:
commit
8dc75e608a
@ -3,8 +3,9 @@
|
|||||||
// Copyright (c) 2008-2015 Barend Gehrels, Amsterdam, the Netherlands.
|
// Copyright (c) 2008-2015 Barend Gehrels, Amsterdam, the Netherlands.
|
||||||
// Copyright (c) 2023 Adam Wulkiewicz, Lodz, Poland.
|
// Copyright (c) 2023 Adam Wulkiewicz, Lodz, Poland.
|
||||||
|
|
||||||
// This file was modified by Oracle on 2017-2020.
|
// This file was modified by Oracle on 2017-2024.
|
||||||
// Modifications copyright (c) 2017-2020, Oracle and/or its affiliates.
|
// Modifications copyright (c) 2017-2024, Oracle and/or its affiliates.
|
||||||
|
// Contributed and/or modified by Visarion Fysikopoulos, on behalf of Oracle.
|
||||||
// Contributed and/or modified by Adam Wulkiewicz, on behalf of Oracle.
|
// Contributed and/or modified by Adam Wulkiewicz, on behalf of Oracle.
|
||||||
|
|
||||||
// Use, modification and distribution is subject to the Boost Software License,
|
// Use, modification and distribution is subject to the Boost Software License,
|
||||||
@ -199,8 +200,9 @@ namespace projections
|
|||||||
}
|
}
|
||||||
|
|
||||||
std::shared_ptr<dynamic_wrapper_b<T, Parameters> > link;
|
std::shared_ptr<dynamic_wrapper_b<T, Parameters> > link;
|
||||||
T lamp;
|
T lamp = 0;
|
||||||
T cphip, sphip;
|
T cphip = 0;
|
||||||
|
T sphip = 0;
|
||||||
};
|
};
|
||||||
|
|
||||||
template <typename StaticParameters, typename T, typename Parameters>
|
template <typename StaticParameters, typename T, typename Parameters>
|
||||||
@ -244,8 +246,9 @@ namespace projections
|
|||||||
}
|
}
|
||||||
|
|
||||||
projection_type link;
|
projection_type link;
|
||||||
T lamp;
|
T lamp = 0;
|
||||||
T cphip, sphip;
|
T cphip = 0;
|
||||||
|
T sphip = 0;
|
||||||
};
|
};
|
||||||
|
|
||||||
template <typename T, typename Par>
|
template <typename T, typename Par>
|
||||||
|
Loading…
x
Reference in New Issue
Block a user