basic structures work in the jit
This commit is contained in:
@@ -21,7 +21,7 @@ function slope(p1, p2) -> u64
|
||||
(getY(p2) - p1.y) / (getX(p2) - p1.x);
|
||||
|
||||
origin = newPoint(0, 0);
|
||||
farther = newPoint(4, 4);
|
||||
farther = newPoint(2, 4);
|
||||
|
||||
mySlope = slope(origin, farther);
|
||||
print mySlope;
|
||||
Reference in New Issue
Block a user