Archived

This topic is now archived and is closed to further replies.

Neo_the_great_hacker

Bézier-Curves

Recommended Posts

Can somebody please help me, I seem to be a complete idiot, I''ve got this code from a book: GLfloat ctrlPoints[3][3][3]= {{{-4.0f, 0.0f, 4.0f}, {0.0f, 0.0f, 8.0f}, { 4.0f, 0.0f, 4.0f }}, {{-4.0f, 0.0f, 0.0f}, { -0.0f, 0.0f, 4.0f}, { 4.0f, 0.0f, 0.0f }}, {{-4.0f, 0.0f, -4.0f}, { -0.0f, 0.0f, 0.0f}, { 4.0f, 0.0f, -4.0f }}}; Now I dont need the three lines in the middle, but somehow I can''t work out, which values I have to change in the 3d-Array. Can somebody please help me???

Share this post


Link to post
Share on other sites
masterg    100
Eh? Looking at your code the 3dimensional array seems like it's used to control the position's of the control points ? eh, I suggest you just keep reading through that chapter or whatever your on, and then fiddle with it a bit to further understand what you are doing.

Edited by - masterg on July 15, 2001 3:46:20 PM

Share this post


Link to post
Share on other sites