@@ -242,9 +242,9 @@ void pybind_rendering_definitions(py::module &m) {
242242 " parameter is optional and is True if the image is in the "
243243 " sRGB colorspace and False otherwise" )
244244 .def (" update_texture" ,
245- (bool (Renderer::*)(TextureHandle,
246- const std::shared_ptr<geometry::Image>,
247- bool )) &
245+ (bool (Renderer::*)(TextureHandle,
246+ const std::shared_ptr<geometry::Image>,
247+ bool )) &
248248 Renderer::UpdateTexture,
249249 " texture" _a, " image" _a, " is_sRGB" _a = false ,
250250 " Updates the contents of the texture to be the new image, or "
@@ -316,21 +316,20 @@ void pybind_rendering_definitions(py::module &m) {
316316 auto cam = static_cast <py::class_<Camera, std::shared_ptr<Camera>>>(
317317 m_rendering.attr (" Camera" ));
318318 cam.def (" set_projection" ,
319- (void (Camera::*)(double , double , double , double ,
320- Camera::FovType)) &
319+ (void (Camera::*)(double , double , double , double , Camera::FovType)) &
321320 Camera::SetProjection,
322321 " field_of_view" _a, " aspect_ratio" _a, " near_plane" _a, " far_plane" _a,
323322 " field_of_view_type" _a, " Sets a perspective projection." )
324323 .def (" set_projection" ,
325- (void (Camera::*)(Camera::Projection, double , double , double ,
326- double , double , double )) &
324+ (void (Camera::*)(Camera::Projection, double , double , double ,
325+ double , double , double )) &
327326 Camera::SetProjection,
328327 " projection_type" _a, " left" _a, " right" _a, " bottom" _a, " top" _a,
329328 " near" _a, " far" _a,
330329 " Sets the camera projection via a viewing frustum. " )
331330 .def (" set_projection" ,
332- (void (Camera::*)(const Eigen::Matrix3d &, double , double ,
333- double , double )) &
331+ (void (Camera::*)(const Eigen::Matrix3d &, double , double ,
332+ double , double )) &
334333 Camera::SetProjection,
335334 " intrinsics" _a, " near_plane" _a, " far_plane" _a, " image_width" _a,
336335 " image_height" _a,
@@ -538,15 +537,15 @@ void pybind_rendering_definitions(py::module &m) {
538537 " Sets the camera with the given name as the active camera for "
539538 " the scene" )
540539 .def (" add_geometry" ,
541- (bool (Scene::*)(
540+ (bool (Scene::*)(
542541 const std::string &, const geometry::Geometry3D &,
543542 const MaterialRecord &, const std::string &, size_t )) &
544543 Scene::AddGeometry,
545544 " name" _a, " geometry" _a, " material" _a,
546545 " downsampled_name" _a = " " , " downsample_threshold" _a = SIZE_MAX,
547546 " Adds a Geometry with a material to the scene" )
548547 .def (" add_geometry" ,
549- (bool (Scene::*)(
548+ (bool (Scene::*)(
550549 const std::string &, const t::geometry::Geometry &,
551550 const MaterialRecord &, const std::string &, size_t )) &
552551 Scene::AddGeometry,
0 commit comments