Class: Doom::Render::Drawseg
- Inherits:
-
Struct
- Object
- Struct
- Doom::Render::Drawseg
- Defined in:
- lib/doom/render/renderer.rb
Overview
Drawseg stores wall segment info for sprite clipping Matches Chocolate Doom’s drawseg_t structure
Instance Attribute Summary collapse
-
#backsector ⇒ Object
Returns the value of attribute backsector.
-
#bsilheight ⇒ Object
Returns the value of attribute bsilheight.
-
#curline ⇒ Object
Returns the value of attribute curline.
-
#dist1 ⇒ Object
Returns the value of attribute dist1.
-
#dist2 ⇒ Object
Returns the value of attribute dist2.
-
#frontsector ⇒ Object
Returns the value of attribute frontsector.
-
#maskedtexturecol ⇒ Object
Returns the value of attribute maskedtexturecol.
-
#scale1 ⇒ Object
Returns the value of attribute scale1.
-
#scale2 ⇒ Object
Returns the value of attribute scale2.
-
#scalestep ⇒ Object
Returns the value of attribute scalestep.
-
#sidedef ⇒ Object
Returns the value of attribute sidedef.
-
#silhouette ⇒ Object
Returns the value of attribute silhouette.
-
#sprbottomclip ⇒ Object
Returns the value of attribute sprbottomclip.
-
#sprtopclip ⇒ Object
Returns the value of attribute sprtopclip.
-
#sx1 ⇒ Object
Returns the value of attribute sx1.
-
#sx2 ⇒ Object
Returns the value of attribute sx2.
-
#tsilheight ⇒ Object
Returns the value of attribute tsilheight.
-
#x1 ⇒ Object
Returns the value of attribute x1.
-
#x2 ⇒ Object
Returns the value of attribute x2.
Instance Attribute Details
#backsector ⇒ Object
Returns the value of attribute backsector
19 20 21 |
# File 'lib/doom/render/renderer.rb', line 19 def backsector @backsector end |
#bsilheight ⇒ Object
Returns the value of attribute bsilheight
19 20 21 |
# File 'lib/doom/render/renderer.rb', line 19 def bsilheight @bsilheight end |
#curline ⇒ Object
Returns the value of attribute curline
19 20 21 |
# File 'lib/doom/render/renderer.rb', line 19 def curline @curline end |
#dist1 ⇒ Object
Returns the value of attribute dist1
19 20 21 |
# File 'lib/doom/render/renderer.rb', line 19 def dist1 @dist1 end |
#dist2 ⇒ Object
Returns the value of attribute dist2
19 20 21 |
# File 'lib/doom/render/renderer.rb', line 19 def dist2 @dist2 end |
#frontsector ⇒ Object
Returns the value of attribute frontsector
19 20 21 |
# File 'lib/doom/render/renderer.rb', line 19 def frontsector @frontsector end |
#maskedtexturecol ⇒ Object
Returns the value of attribute maskedtexturecol
19 20 21 |
# File 'lib/doom/render/renderer.rb', line 19 def maskedtexturecol @maskedtexturecol end |
#scale1 ⇒ Object
Returns the value of attribute scale1
19 20 21 |
# File 'lib/doom/render/renderer.rb', line 19 def scale1 @scale1 end |
#scale2 ⇒ Object
Returns the value of attribute scale2
19 20 21 |
# File 'lib/doom/render/renderer.rb', line 19 def scale2 @scale2 end |
#scalestep ⇒ Object
Returns the value of attribute scalestep
19 20 21 |
# File 'lib/doom/render/renderer.rb', line 19 def scalestep @scalestep end |
#sidedef ⇒ Object
Returns the value of attribute sidedef
19 20 21 |
# File 'lib/doom/render/renderer.rb', line 19 def sidedef @sidedef end |
#silhouette ⇒ Object
Returns the value of attribute silhouette
19 20 21 |
# File 'lib/doom/render/renderer.rb', line 19 def silhouette @silhouette end |
#sprbottomclip ⇒ Object
Returns the value of attribute sprbottomclip
19 20 21 |
# File 'lib/doom/render/renderer.rb', line 19 def sprbottomclip @sprbottomclip end |
#sprtopclip ⇒ Object
Returns the value of attribute sprtopclip
19 20 21 |
# File 'lib/doom/render/renderer.rb', line 19 def sprtopclip @sprtopclip end |
#sx1 ⇒ Object
Returns the value of attribute sx1
19 20 21 |
# File 'lib/doom/render/renderer.rb', line 19 def sx1 @sx1 end |
#sx2 ⇒ Object
Returns the value of attribute sx2
19 20 21 |
# File 'lib/doom/render/renderer.rb', line 19 def sx2 @sx2 end |
#tsilheight ⇒ Object
Returns the value of attribute tsilheight
19 20 21 |
# File 'lib/doom/render/renderer.rb', line 19 def tsilheight @tsilheight end |
#x1 ⇒ Object
Returns the value of attribute x1
19 20 21 |
# File 'lib/doom/render/renderer.rb', line 19 def x1 @x1 end |
#x2 ⇒ Object
Returns the value of attribute x2
19 20 21 |
# File 'lib/doom/render/renderer.rb', line 19 def x2 @x2 end |