3D Bezier Curve

Blitz3D Forums/Blitz3D Programming/3D Bezier Curve

ZombieWoof(Posted 2004) [#1]
edit: I've worked through the problems I originally posted about, and of course have some new ones :)

move the white points around (click and drag) and see if you can give me a hint why its doubling up the points when my code only creates 4


setcolor.bb:


bez.bb:


bezier.bb:



ZombieWoof(Posted 2004) [#2]
original post updated


LAB[au](Posted 2004) [#3]
BezierNew and BezierAdd both create a new type instance, thus 4+4=8 bez instances

Or do I miss something??


ZombieWoof(Posted 2004) [#4]
I'll try that -- I thought that any variable declared as typed would be a seperate container of instances

<some minutes later> That got it -- and cleaned up the rest of the code to match

Here is the current version if you want to to take a peek:

setcolor.bb:


bez.bb:


bezier.bb