| Author |
Accessing data structure
|
Jackie Davis
Greenhorn
Joined: Mar 04, 2006
Posts: 23
|
|
Hi I am not sure how to solve this problem. I have the follwing code How do I access c1vertices[0] 's 'x' element (i.e -2)? Thanks
|
 |
Keith Lynn
Ranch Hand
Joined: Feb 07, 2005
Posts: 2341
|
|
|
You would need to set up a way to access the variables from within the class definition of xyz.
|
 |
Garrett Rowe
Ranch Hand
Joined: Jan 17, 2006
Posts: 1295
|
|
Unless you have a class xyz that you are not showing, it looks like xyz is just a local reference to a float array. If that is the case, you aren't setting it up properly. What you want is an array of arrays. [ March 05, 2006: Message edited by: Garrett Rowe ]
|
Some problems are so complex that you have to be highly intelligent and well informed just to be undecided about them. - Laurence J. Peter
|
 |
 |
|
|
subject: Accessing data structure
|
|
|