Just wondering if there is an easier way?
public function copy3x3(copyTo:Matrix3D, copyFrom:Matrix3D ):void
{
var ct:Vector.<Number> = copyTo.rawData
var cf:Vector.<Number> = copyFrom.rawData
ct[0] = cf[0]; ct[4] = cf[4]; ct[8] = cf[8];
ct[1] = cf[1]; ct[5] = cf[5]; ct[9] = cf[9];
ct[2] = cf[2]; ct[6] = cf[6]; ct[10] = cf[10];
copyTo.copyRawDataFrom(ct);
}
use it for things like
parent.roll(1)
copy3x3(childMesh.transform, parent.inverseSceneTransform)