Herve,
 
This question is not relevant to this mailing list. Look at the basic concepts of the Arrays.. one link is
 
 
What you are trying to do is creating an array of class and trying to use its elements as arrays...
 
u need to say
 
test[0][0].INT = int
test[0][0].VECTOR = vector
 
 
Ahmed
 
 
-----Original Message-----
From: Discussion list for Java 3D API [mailto:[EMAIL PROTECTED]]On Behalf Of hterrolle
Sent: Friday, June 21, 2002 11:01 AM
To: [EMAIL PROTECTED]
Subject: [JAVA3D]

Hi,
 
i got a little problem creating array [][][],
 
i want [5][5]  of   int,vector3d
 
i create a class that i use like a struct (in C of course)
       
        CLASS TOTO
                    INT
                    VECTOR
 
than i create place
 
        TOTO [][]  test = new TOTO [5][5];
 
and i try to fedd it like
 
                test.int[0][0] = int
                test.vector[0][0] = vector
 
it does not work
 
Does some one can show me how to create this kind of Array.
 
Thanks a lot in advence
 
    HERVE

Reply via email to