2iw31Zhv / RayTracer

Software ray tracer with intersecting between ray and Bezier curve
0 stars 0 forks source link

Intersecting between ray and arbitrary quadratic Bezier curve #1

Closed 2iw31Zhv closed 7 years ago

2iw31Zhv commented 7 years ago

Currently, the code just supports the case that: there are 3 control points (x1, y1), (x2, y2), (x3, y3), with x1 = x3 and y2 = (y1 + y3) / 2 Also, the code lacks readability