Bézier-Curves

Started by
0 comments, last by Neo_the_great_hacker 22 years, 9 months ago
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???
Advertisement
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
masterghttp:/masterg.andyc.org

This topic is closed to new replies.

Advertisement