From cadab1f438c2c2f539f9ba221b3508800da0f5a1 Mon Sep 17 00:00:00 2001 From: Yuval Tassa Date: Thu, 23 Feb 2023 01:32:32 -0800 Subject: [PATCH] Make the word `extent` more clearly visible in documentation of `zfar` and `znear`. Fixes #746. PiperOrigin-RevId: 511719937 Change-Id: If697e2dd4992dfa3f345ae4caa25bd67d015a91b --- doc/XMLreference.rst | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/doc/XMLreference.rst b/doc/XMLreference.rst index 08541acd..0c3d1c8e 100644 --- a/doc/XMLreference.rst +++ b/doc/XMLreference.rst @@ -696,9 +696,9 @@ miscellaneous. This and the next attribute determine the clipping planes of the OpenGL projection. The near clipping plane is particularly important: setting it too close causes (often severe) loss of resolution in the depth buffer, while setting it too far causes objects of interest to be clipped, making it impossible to zoom in. The distance to the - near clipping plane is the model extent multiplied by the value of this attribute. Must be strictly positive. + near clipping plane is the model ``extent`` multiplied by the value of this attribute. Must be strictly positive. :at:`zfar`: :at-val:`real, "50"` - The distance to the far clipping plane is the model extent multiplied by the value of this attribute. + The distance to the far clipping plane is the model ``extent`` multiplied by the value of this attribute. :at:`haze`: :at-val:`real, "0.3"` Proportion of the distance-to-horizon that is covered by haze (when haze rendering is enabled and a skybox is present).