init method
Implementation
init(List<Plane> planes, bool enableLocalClipping, Camera camera) {
var enabled = planes.isNotEmpty ||
enableLocalClipping ||
// enable state of previous frame - the clipping code has to
// run another frame in order to reset the state:
numGlobalPlanes != 0 ||
localClippingEnabled;
localClippingEnabled = enableLocalClipping;
globalState = projectPlanes(planes, camera, 0, null);
numGlobalPlanes = planes.length;
return enabled;
}