samples/07_advanced_rendering/03_render_target_viewports/app/main.rb
# Outputs vertical and horizontal separators onto the screen to separate each demo section.
Outputs vertical and horizontal separators onto the screen to separate each demo section.
Outputs vertical and horizontal separators onto the screen to separate each demo section .
def render_seperators
    outputs.lines << horizontal_seperator(505, grid.left, 445)
    outputs.lines << horizontal_seperator(353, grid.left, 445)
    outputs.lines << horizontal_seperator(264, grid.left, 445)
    outputs.lines << horizontal_seperator(174, grid.left, 445)
    outputs.lines << vertical_seperator(445, grid.top, grid.bottom)
    outputs.lines << horizontal_seperator(690, 445, 820)
    outputs.lines << horizontal_seperator(426, 445, 820)
    outputs.lines << vertical_seperator(820, grid.top, grid.bottom)
  end
def render_seperators outputs . lines << horizontal_seperator ( 505 , grid . left , 445 ) outputs . lines << horizontal_seperator ( 353 , grid . left , 445 ) outputs . lines << horizontal_seperator ( 264 , grid . left , 445 ) outputs . lines << horizontal_seperator ( 174 , grid . left , 445 ) outputs . lines << vertical_seperator ( 445 , grid . top , grid . bottom ) outputs . lines << horizontal_seperator ( 690 , 445 , 820 ) outputs . lines << horizontal_seperator ( 426 , 445 , 820 ) outputs . lines << vertical_seperator ( 820 , grid . top , grid . bottom ) end
Outputs vertical and horizontal separators onto the screen to separate each demo section.
Outputs vertical and horizontal separators onto the screen to separate each demo section .