E_FAIL in RayCast.cpp

    This site uses cookies. By continuing to browse this site, you are agreeing to our Cookie Policy.

    • E_FAIL in RayCast.cpp

      Hi,

      The return value for RayCast::Pick(Scene *pScene, ActorId actorId, CDXUTSDKMesh *pMesh) is E_FAIL, about line 252, should it not be S_OK?

      The method has just finished picking the correct ray to process and a fail here means that the calling method see's that it has failed, unless there is some parts missing from this method.