Make a curve...

Blitz3D Forums/Blitz3D Programming/Make a curve...

The forum is locked. These are the original blitzbasic.com forums, kept so they can still be read. No new topics, replies or edits can be made here. To join in, head over to the Blitz3D+ forums.

Ok, it really should just be a case of changing the multiplier value to

For segments_vertical = 1 to 10 ; (in the case of above)

   For segments_horizontal = 1 to 4 (the segments horizontally)

      x = cos(8.9*segments_vertical) * distance_from_centre *segments_horizontally
      y = sin(8.9*segments_vertical) * distance_from_centre * segments_horizontally
      place vertex at x , y , z

   next

next


To 8.9, as 89 deg divided by 10 segments = 8.9 :o)