Skip to content

Commit

Permalink
Update camera.ts (#16152)
Browse files Browse the repository at this point in the history
Add default for maxZ so it will be displayed on https://doc.babylonjs.com/typedoc/classes/BABYLON.Camera#maxz
  • Loading branch information
mthaddon authored Feb 6, 2025
1 parent 817f98e commit 0ff3617
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/dev/core/src/Cameras/camera.ts
Original file line number Diff line number Diff line change
Expand Up @@ -277,7 +277,7 @@ export class Camera extends Node {
public minZ = 1;

/**
* Define the maximum distance the camera can see to.
* Define the maximum distance the camera can see to. (default is 10000)
* This is important to note that the depth buffer are not infinite and the further it end
* the more your scene might encounter depth fighting issue.
*/
Expand Down

0 comments on commit 0ff3617

Please sign in to comment.