c++ - Curving from one point to another -
I have tiles that are in random places, and they make x ', y' (to create a good 2d array) By:
X T = ((X and head; -X) / T) * T) + X, / Sub> = (((Y and prime; -Y) / T) * T) + Y
It works well, but it is linear for some personnel Seeing a little bit like parabol is actually to take x 'in the straight line. Mean, I would have been looking for an algorithm that will curve in X and ends at X and the amount of curvature is based on a variable.
Thanks
* Edit I think what I want to do the Bezier Curve, but I'm not sure how to implement it. Can someone please explain the quadratic beers formula? I am also unsure that 'e' - what happens like a symbol, I think it is related to a category, but I am not sure, thank you
Whether you are looking for, or some other similar parametric curve, these are programmatically easy to code and manipulating them has the advantage of being simple. I know that the best book is in the classic book, but maybe a basic introduction to any textbook on computer graphics would be involved.
Comments
Post a Comment