@@ -242,9 +242,9 @@ void pybind_rendering_definitions(py::module &m) {
242
242
" parameter is optional and is True if the image is in the "
243
243
" sRGB colorspace and False otherwise" )
244
244
.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 )) &
248
248
Renderer::UpdateTexture,
249
249
" texture" _a, " image" _a, " is_sRGB" _a = false ,
250
250
" Updates the contents of the texture to be the new image, or "
@@ -316,21 +316,20 @@ void pybind_rendering_definitions(py::module &m) {
316
316
auto cam = static_cast <py::class_<Camera, std::shared_ptr<Camera>>>(
317
317
m_rendering.attr (" Camera" ));
318
318
cam.def (" set_projection" ,
319
- (void (Camera::*)(double , double , double , double ,
320
- Camera::FovType)) &
319
+ (void (Camera::*)(double , double , double , double , Camera::FovType)) &
321
320
Camera::SetProjection,
322
321
" field_of_view" _a, " aspect_ratio" _a, " near_plane" _a, " far_plane" _a,
323
322
" field_of_view_type" _a, " Sets a perspective projection." )
324
323
.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 )) &
327
326
Camera::SetProjection,
328
327
" projection_type" _a, " left" _a, " right" _a, " bottom" _a, " top" _a,
329
328
" near" _a, " far" _a,
330
329
" Sets the camera projection via a viewing frustum. " )
331
330
.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 )) &
334
333
Camera::SetProjection,
335
334
" intrinsics" _a, " near_plane" _a, " far_plane" _a, " image_width" _a,
336
335
" image_height" _a,
@@ -538,15 +537,15 @@ void pybind_rendering_definitions(py::module &m) {
538
537
" Sets the camera with the given name as the active camera for "
539
538
" the scene" )
540
539
.def (" add_geometry" ,
541
- (bool (Scene::*)(
540
+ (bool (Scene::*)(
542
541
const std::string &, const geometry::Geometry3D &,
543
542
const MaterialRecord &, const std::string &, size_t )) &
544
543
Scene::AddGeometry,
545
544
" name" _a, " geometry" _a, " material" _a,
546
545
" downsampled_name" _a = " " , " downsample_threshold" _a = SIZE_MAX,
547
546
" Adds a Geometry with a material to the scene" )
548
547
.def (" add_geometry" ,
549
- (bool (Scene::*)(
548
+ (bool (Scene::*)(
550
549
const std::string &, const t::geometry::Geometry &,
551
550
const MaterialRecord &, const std::string &, size_t )) &
552
551
Scene::AddGeometry,
0 commit comments