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
-
#bsilheight ⇒ Object
Returns the value of attribute bsilheight.
-
#scale1 ⇒ Object
Returns the value of attribute scale1.
-
#scale2 ⇒ Object
Returns the value of attribute scale2.
-
#silhouette ⇒ Object
Returns the value of attribute silhouette.
-
#sprbottomclip ⇒ Object
Returns the value of attribute sprbottomclip.
-
#sprtopclip ⇒ Object
Returns the value of attribute sprtopclip.
-
#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
#bsilheight ⇒ Object
Returns the value of attribute bsilheight
19 20 21 |
# File 'lib/doom/render/renderer.rb', line 19 def bsilheight @bsilheight 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 |
#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 |
#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 |