Skip to content

Commit

Permalink
docs(Renderer): fix typescript of createLight()
Browse files Browse the repository at this point in the history
  • Loading branch information
bruyeret authored and finetjul committed Apr 8, 2024
1 parent b03af43 commit 35b5c66
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions Sources/Rendering/Core/Renderer/index.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -89,7 +89,7 @@ export interface vtkRenderer extends vtkViewport {
/**
* Create and add a light to renderer.
*/
createLight(): vtkLight;
createLight(): void;

/**
* Compute the bounding box of all the visible props Used in ResetCamera() and ResetCameraClippingRange()
Expand Down Expand Up @@ -342,12 +342,12 @@ export interface vtkRenderer extends vtkViewport {
getVolumesByReference(): vtkVolume[];

/**
* Create a new Camera sutible for use with this type of Renderer.
* Create a new Camera suitable for use with this type of Renderer.
*/
makeCamera(): vtkCamera;

/**
* Create a new Light sutible for use with this type of Renderer.
* Create a new Light suitable for use with this type of Renderer.
*/
makeLight(): vtkLight;

Expand Down

0 comments on commit 35b5c66

Please sign in to comment.