ratalaika / angel-engine

Automatically exported from code.google.com/p/angel-engine
0 stars 0 forks source link

Bézier curves #39

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
I would like to request a convenience function that draws a Bézier curve.

I think that for fast game prototyping Angel lacks some drawing functions. I 
only found the World::DrawDebugLine(), and for anything else it looks like I 
have to write OpenGL code myself in the Render() function. This is very hard.

Many common (and uncommon) shapes can be drawn using Bézier curves, so this 
small extension would allow Angel to draw almost anything.

In my game I need to draw a long curve that goes through a set of points. It 
would be perfect if you would support that, but I can put it together from 
simple cubic Bézier curves if you could implement them.

If you go for it, please allow the programmer to specify the width of the curve.

Original issue reported on code.google.com by rhy...@rhywek.com on 6 Feb 2011 at 5:04

GoogleCodeExporter commented 9 years ago
This is not so trivial a change as you seem to think. :-) 

If someone were to submit a patch for this, it would be considered. Not likely 
to be undertaken by the main crew at the present time, though. 

Original comment by lieseg...@gmail.com on 15 Feb 2011 at 2:34