6 Replies Latest reply on Oct 1, 2010 9:04 AM by himanshu.gautam

    float3.x address ?



      I try to use the address of a float3 element like this and I got an error, maybe it is not allowed ?

      float3* val ...

      mymethod(&val->x, &val->y); 

      where :

      void mymethod(float* a, float * b) ...

      and I got this message :

      error: expression must
                have pointer-to-struct-or-union type