toComponents function

dynamic toComponents(
  1. dynamic source,
  2. dynamic target
)

Implementation

toComponents( source, target ) {

	target["r"] = source.r;
	target["g"] = source.g;
	target["b"] = source.b;

	return target;

}