Ceilingslope: Difference between revisions

From EDukeWiki
Jump to navigation Jump to search
No edit summary
Clarify that ceilingslope is a tangent measure.
 
Line 1: Line 1:
This value determines the slope of a sector's ceiling, based on its first wall ([[wallptr]]). Negative values indicate the ceiling slopes upwards, and positive values mean the ceiling slopes downwards.
This value determines the slope of a sector's ceiling, based on its first wall ([[wallptr]]). Negative values indicate the ceiling slopes upwards, and positive values mean the ceiling slopes downwards. The ceilingslope value is the tangent of the slope angle, multiplied by 4096.


See [[floorslope]].
See [[floorslope]].


[[Category:Sector structure members]]
[[Category:Sector structure members]]

Latest revision as of 10:35, 18 April 2012

This value determines the slope of a sector's ceiling, based on its first wall (wallptr). Negative values indicate the ceiling slopes upwards, and positive values mean the ceiling slopes downwards. The ceilingslope value is the tangent of the slope angle, multiplied by 4096.

See floorslope.