Skip to content
Snippets Groups Projects
Commit d310ce75 authored by Raphael's avatar Raphael
Browse files

jited bresenham

parent 7e7d2322
No related branches found
No related tags found
2 merge requests!20Resolve "Improve performances of image generation",!13Draft: Develop
from numba import jit
@jit(nopython=True)
def bresenham(x1, y1, x2, y2):
dx = int(x2 - x1)
dy = int(y2 - y1)
......
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