@@ -70,7 +70,7 @@ struct Skysphere_Struct;
7070// / This class just provides access to scene specific data
7171// / needed in many parts of the code. Be aware that while most
7272// / data is members are public, they shall **not** be modified
73- // / carelessly. Code from POV-Ray 3 .6 and earlier does depend
73+ // / carelessly. Code from POV-Ray v3 .6 and earlier does depend
7474// / on simple access of this data all over the old code, so
7575// / this provides an efficient way to reuse all the old code.
7676// / By no means shall this way of data access be used for any
@@ -166,7 +166,7 @@ class SceneData
166166 bool realTimeRaytracing;
167167
168168 // ********************************************************************************
169- // Old globals from 3 .6 and earlier are temporarily kept below. Please carefully
169+ // Old globals from v3 .6 and earlier are temporarily kept below. Please carefully
170170 // consider what is added and mark it accordingly if it needs to go away again
171171 // prior to final release! [trf]
172172 // ********************************************************************************
@@ -196,6 +196,9 @@ class SceneData
196196 UCS2String inputFile; // TODO - handle differently
197197 UCS2String headerFile;
198198
199+ // / Aspect ratio of the output image.
200+ DBL aspectRatio;
201+
199202 int defaultFileType;
200203
201204 FrameSettings frameSettings; // TODO - move ???
@@ -227,13 +230,13 @@ class SceneData
227230
228231 // / Convenience function to determine the effective SDL version.
229232 // /
230- // / Given that version 3 .7 and later require the first statement in the file to be
233+ // / Given that version v3 .7 and later require the first statement in the file to be
231234 // / a `#version` statement, the absence of such a statement can be presumed to
232- // / indicate a pre-3 .7 scene; this function assumes version 3.62 in that case
233- // / (which was the latest 3.6 version when 3 .7.0 was released ).
235+ // / indicate a pre-v3 .7 scene; this function assumes v3.6.2 in that case
236+ // / (which was the latest version before v3 .7.0).
234237 // / @note It is recommended to use this function only where behaviour differs
235- // / significantly from pre-3 .7 versions.
236- // / @return The current language version in integer format (e.g. 370 for 3.70 )
238+ // / significantly from pre-v3 .7 versions.
239+ // / @return The current language version in integer format (e.g. 370 for v3.7.0 )
237240 // / if explicitly specified, or 362 otherwise.
238241 // /
239242 inline unsigned int EffectiveLanguageVersion () const
0 commit comments