Skip to content
Snippets Groups Projects
Commit fc2dd977 authored by Joseph Weston's avatar Joseph Weston
Browse files

change the padding around the bounding box to width/2

The bump function we convolve with has finite support,
so the vector field is identically zero at distances
greater than width/2 outside of the bounding box.
Also replace this magic number with a 'padding' constant
to improve readability just a smidge.
parent 4eb6f2b1
No related branches found
No related tags found
No related merge requests found
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment