renaming a subroutine
This commit is contained in:
@@ -87,7 +87,7 @@ subroutine genp_line(xa, ya, xb, yb, color)
|
||||
call genp_draw(xb, yb, color)
|
||||
end subroutine
|
||||
! ---------------------------------------------------------
|
||||
subroutine plot_axes(amp)
|
||||
subroutine genp_plot_axes(amp)
|
||||
real, intent(in) :: amp
|
||||
call genp_move(0.0, -amp)
|
||||
call genp_draw(0.0, amp, 7)
|
||||
|
||||
@@ -62,7 +62,7 @@ subroutine do_oscilloscope(freqs, col)
|
||||
call plot_a_trace(freqs(2), 1.0, 120, 3.33, col)
|
||||
call plot_a_trace(freqs(3), 2.6, 120, -3.33, col)
|
||||
call plot_a_trace(freqs(4), 3.1, 120, -6.66, col)
|
||||
call plot_axes(10.0)
|
||||
call genp_plot_axes(10.0)
|
||||
|
||||
end subroutine
|
||||
! ---------------------------------------------------------
|
||||
|
||||
@@ -3,7 +3,7 @@ program testbed
|
||||
implicit none
|
||||
|
||||
call genp_init(0, "foo.scratch")
|
||||
call plot_axes(13.37)
|
||||
call genp_plot_axes(13.37)
|
||||
call genp_end(0)
|
||||
call genp_do_render("foo.scratch", "foo.tga", 512, 512)
|
||||
|
||||
|
||||
Reference in New Issue
Block a user