isVisible method

  1. @override
bool isVisible(
  1. CameraComponent3D camera
)
override

Implementation

@override
bool isVisible(CameraComponent3D camera) {
  // TODO(luan): this actually does not work because of animations
  // it might end up culling something that is actually visible
  return camera.frustum.intersectsWithAabb3(aabb);
}