transformed method

Vector4 transformed (Vector4 arg, [ Vector4 out ])

Transform a copy of arg of type Vector4 using the transformation defined by this. If a out parameter is supplied, the copy is stored in out.

Implementation

Vector4 transformed(Vector4 arg, [Vector4 out]) {
  if (out == null) {
    out = new Vector4.copy(arg);
  } else {
    out.setFrom(arg);
  }
  return transform(out);
}