I am trying to set a transformation object to the identity matrix but I am unable to access the 16 element array.
If I try to inspect the values with a call to trans.to_a the value returned is an empty array.
trans = Geom::Transformation.scaling(1,1,1)
or
arr = [1,0,0,0,0,1,0,0,0,0,1,0,0,0,0,1]
trans = Geom::Transformation.new(arr)
trans.to_a => []
I have even attempted to inspect the transform array of a constructed transform which I know is properly constructed since the tranformations are correct in the model but I stll cannot access the array.
Does anyone have any ideas?