fromBox3 method

dynamic fromBox3(
  1. dynamic box3
)

Implementation

fromBox3(box3) {
  box3.getCenter(center);

  box3.getSize(halfSize).multiplyScalar(0.5);

  rotation.identity();

  return this;
}