Is there an equivalent of the canvas arc() webGL call in Babylon?
Arc() draws a 3 point spline that passes through (and uses radius of) a given midpoint and uses the angle of the endpoints to limit the segment length size. Which is, exactly what I need a spline to do right now.
OK, I figured it would be quicker to just build it.
This works and spits out both a Curve3 and a series of points and mimics the Arc in WebGL,
I still need to tie in an X Z offset. All radius will render from 0,0,0 until I get around to adding in an X Z offset - unless someone beats me too it.
No error checking yet, just quick and dirty, but get’s the job done.
I don’t know why the playground does not recognize the MATH.xxx methods. Work’s fine in a typescript compiler.