containsPoint method
Implementation
bool containsPoint(Vector3 point) {
final planes = this.planes;
for (int i = 0; i < 6; i++) {
if (planes[i].distanceToPoint(point) < 0) {
return false;
}
}
return true;
}
bool containsPoint(Vector3 point) {
final planes = this.planes;
for (int i = 0; i < 6; i++) {
if (planes[i].distanceToPoint(point) < 0) {
return false;
}
}
return true;
}