calculateWorldAABB method

  1. @override
void calculateWorldAABB(
  1. Vec3 pos,
  2. Quaternion quat,
  3. Vec3 min,
  4. Vec3 max,
)
override

@todo use abstract for these kind of methods

Implementation

@override
void calculateWorldAABB(Vec3 pos, Quaternion quat, Vec3 min,Vec3 max) {
  // Get each axis max
  min.copy(pos);
  max.copy(pos);
}