Added prototype shadow cast method