(self)
return frustum_near > 0 and frustum_near < frustum_far
Returns True if camera is properly initialized.
Returns True if camera is properly initialized.
Returns True if camera is properly initialized .
def is_initialized(self):
    """Returns True if camera is properly initialized."""
    if not self._scene:
      return False
    frustum_near = self._scene.ptr.contents.camera[0].frustum_near
    frustum_far = self._scene.ptr.contents.camera[0].frustum_far
    return frustum_near > 0 and frustum_near < frustum_far
def is_initialized ( self ) : if not self . _scene : return False frustum_near = self . _scene . ptr . contents . camera [ 0 ] . frustum_near frustum_far = self . _scene . ptr . contents . camera [ 0 ] . frustum_far return frustum_near > 0 and frustum_near < frustum_far