Skip to content

Commit

Permalink
Updating SingleLayerOptics::BSDFDirections bindings to account for ch…
Browse files Browse the repository at this point in the history
…ange in Windows-CalcEngine
  • Loading branch information
StephenCzarnecki committed Nov 18, 2024
1 parent 11eddfe commit 2dece53
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions src/wincalcbindings.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -1720,9 +1720,8 @@ PYBIND11_MODULE(wincalcbindings, m) {

py::class_<SingleLayerOptics::BSDFDirections>(m, "BSDFDirections")
.def(py::init<>())
.def(py::init<std::vector<SingleLayerOptics::BSDFDefinition> const &,
SingleLayerOptics::BSDFDirection>(),
py::arg("definitions"), py::arg("side"))
.def(py::init<std::vector<SingleLayerOptics::BSDFDefinition> const &>(),
py::arg("definitions"))
.def("lambda_vector", &SingleLayerOptics::BSDFDirections::lambdaVector)
.def("profile_angles", &SingleLayerOptics::BSDFDirections::profileAngles)
.def("lambda_matrix", &SingleLayerOptics::BSDFDirections::lambdaMatrix)
Expand Down

0 comments on commit 2dece53

Please sign in to comment.