The code for
public void TransformVectorByReference()
and
public void TransformVectorByReferenceAndOut()
seem to be identical? If the aim is to compare parameter mechanisms, would it be better to perform secondary calculations like calculating the rotationMatrix once, only rather than once per call, and use a constant for the angle rather than calculate the radian equivalent of a constant at every call?