-
Notifications
You must be signed in to change notification settings - Fork 55
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
replace redundant code in plot_vectors() with a call to draw_clip_arr…
…ow()
- Loading branch information
sfeam
committed
Oct 31, 2017
1 parent
6abe366
commit 962a6db
Showing
2 changed files
with
27 additions
and
55 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1,17 @@ | ||
2017-10-30 Ethan A Merritt <[email protected]> | ||
|
||
* src/gadgets.c (draw_clip_arrow): Do not call term->arrow() if the | ||
entire arrow is out of range. | ||
|
||
* src/graphics.c (plot_vectors): The code for 2D "plot with vectors" | ||
is redundant. Replace the core of it with a call to draw_clip_arrow(). | ||
|
||
* src/boundary.c (do_key_sample): Illustrate revision of a | ||
draw_clip_arrow() call site to use (double) rather than (int) | ||
parameters. The only reason for this is to allow draw_clip_arrow() | ||
itself to switch to (double) parameters if we decide that is useful, | ||
e.g. to handle arrows with length approaching zero. | ||
|
||
2017-10-13 Petr Mikulik <[email protected]> | ||
|
||
* src/pm3d.c (pm3d_draw_one pm3d_plot): Move call of term->layer() with | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters