Jump to content

  • Log In with Google      Sign In   
  • Create Account


Bézier-Curves


Old topic!
Guest, the last post of this topic is over 60 days old and at this point you may not reply in this topic. If you wish to continue this conversation start a new topic.

  • You cannot reply to this topic
1 reply to this topic

#1 Neo_the_great_hacker   Members   -  Reputation: 122

Like
Likes
Like

Posted 15 July 2001 - 04:16 AM

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???

Sponsor:

#2 masterg   Members   -  Reputation: 100

Like
Likes
Like

Posted 15 July 2001 - 08:44 AM

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




Old topic!
Guest, the last post of this topic is over 60 days old and at this point you may not reply in this topic. If you wish to continue this conversation start a new topic.



PARTNERS