fromJSON method

OBB fromJSON(
  1. Map<String, dynamic> json
)

Restores this instance from the given JSON object.

Implementation

OBB fromJSON(Map<String,dynamic> json ) {
	center.fromArray( json['center'] );
	halfSizes.fromArray( json['halfSizes'] );
	rotation.fromArray( json['rotation'] );
	return this;
}