getEnd method

  1. @override
Vector3 getEnd()
override

Implementation

@override
Vector3 getEnd() {
  if (submobjects.isNotEmpty) {
    return submobjects.last.getEnd();
  } else {
    return super.getEnd();
  }
}