Setaspect

From EDukeWiki
Revision as of 06:27, 14 September 2009 by Helixhorned (talk | contribs) (added setaspect)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search

setaspect <viewingrange> <yxaspect> is used to set the field of view in both dimensions in the original BUILD renderer. <viewingrange> is the horizontal FOV and is set to 65536 by default. <yxaspect> is (presumably?) the Y to X ratio multiplied by 65536. In the editor, its default value is (65536*ydim*8)/(xdim*5). Note that <yxaspect> also affects rotatesprite.